antlr.collections

Interface Stack

public interface Stack

A simple stack definition; restrictive in that you cannot access arbitrary stack elements.

Author: Terence Parr MageLang Institute

Method Summary
intheight()
Objectpop()
voidpush(Object o)
Objecttop()

Method Detail

height

public int height()

pop

public Object pop()

push

public void push(Object o)

top

public Object top()