protected ASTElement(nodeType type, ASTElement parent) { m_nodeType = type; m_parent = parent; m_serial = ms_serialCounter++; m_nodeName = GenerateNodeNames(); }
protected ASTTerminal(nodeType type, ASTElement parent) : base(type, parent) { }
protected void addChild(ASTElement child, contextType ct) { int index = GetContextIndex(ct); m_children[index].Add(child); }
protected ASTComposite(nodeType type, ASTElement parent, int numContexts) : base(type, parent) { m_children = new List <ASTElement> [numContexts]; }
public CASTAssignment(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
public CASTCompileUnit(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
public CASTDivision(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
public CASTMultiplication(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
public CASTSubtraction(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
{ public CASTNUMBER(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }
public CASTIDENTIFIER(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts) { }