Class PushdownPrefixState<T>
Stack utility for the shift-reduce parser. GPPG parsers have three instances: (1) The parser state stack, T = QUT.Gppg.State, (2) The semantic value stack, T = TValue, (3) The location stack, T = TSpan.
Inheritance
System.Object
PushdownPrefixState<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: QUT.Gppg
Assembly: Xbim.Common.dll
Syntax
public class PushdownPrefixState<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceDepth
The current depth of the stack.
Declaration
public int Depth { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Indexer for values of the stack below the top.
Declaration
public T this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | index of the element, starting from the bottom |
Property Value
Type | Description |
---|---|
T | the selected element |