|
Grammatica 1.3 Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
System.Object
|
+--RecursiveDescentParser.CallStack
in RecursiveDescentParser.csA name value stack. This stack is used to detect loops and repetitions of the same production during look-ahead analysis.
Method Summary | |
void |
Clear()
Clears the stack. |
bool |
Contains( string name )
Checks if the specified name is on the stack. |
bool |
Contains( string name, int value )
Checks if the specified name and value combination is on the stack. |
void |
Pop()
Removes the top element of the stack. |
void |
Push( string name, int value )
Adds a new element to the top of the stack. |
Method Detail |
public void Clear();
public bool Contains( string name );
name
- the name to search forpublic bool Contains( string name, int value );
name
- the name to search for
value
- the value to search forpublic void Pop();
public void Push( string name, int value );
name
- the stack name
value
- the stack value
|
Grammatica 1.3 Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |