public StackElement() { tempVal = null; t = StackElementType.NoneType; }
public StackElement(char c) { tempVal = null; charVal = c; t = StackElementType.charType; }
public StackElement(Template temp) { Debug.Assert(temp != null); tempVal = temp; t = StackElementType.templateType; }
public ParserStackElement(StackElementType type, AstNode node, ParserState state) { Type = type; Node = node; State = state; }
public int state; // state of the LR parser public StackElement(int i) { tempVal = null; intVal = i; t = StackElementType.intType; }
public StackElement(int i) { tempVal = null; intVal = i; t = StackElementType.intType; }
public UnaryOperator(StackElementType type) : base(type) { }
public StackElement(StackElementType type) { this.type = type; }