Antlr.Runtime.Collections.StackList Class Reference

Stack abstraction that also supports the IList interface. More...

Inheritance diagram for Antlr.Runtime.Collections.StackList:

Inheritance graph
[legend]
Collaboration diagram for Antlr.Runtime.Collections.StackList:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StackList ()
void Push (object item)
 Adds an element to the top of the stack list.
object Pop ()
 Removes the element at the top of the stack list and returns it.
object Peek ()
 Removes the element at the top of the stack list without removing it.


Detailed Description

Stack abstraction that also supports the IList interface.

Definition at line 43 of file StackList.cs.


Constructor & Destructor Documentation

Antlr.Runtime.Collections.StackList.StackList (  ) 

Definition at line 45 of file StackList.cs.


Member Function Documentation

void Antlr.Runtime.Collections.StackList.Push ( object  item  ) 

Adds an element to the top of the stack list.

Definition at line 52 of file StackList.cs.

object Antlr.Runtime.Collections.StackList.Pop (  ) 

Removes the element at the top of the stack list and returns it.

Returns:
The element at the top of the stack.

Definition at line 61 of file StackList.cs.

object Antlr.Runtime.Collections.StackList.Peek (  ) 

Removes the element at the top of the stack list without removing it.

Returns:
The element at the top of the stack.

Definition at line 72 of file StackList.cs.


The documentation for this class was generated from the following file:

Generated on Wed Oct 1 14:13:29 2008 for ANTLR API by  doxygen 1.5.5