示例#1
0
 protected ASTElement(nodeType type, ASTElement parent)
 {
     m_nodeType = type;
     m_parent   = parent;
     m_serial   = ms_serialCounter++;
     m_nodeName = GenerateNodeNames();
 }
示例#2
0
 protected ASTTerminal(nodeType type, ASTElement parent) : base(type, parent)
 {
 }
示例#3
0
        protected void addChild(ASTElement child, contextType ct)
        {
            int index = GetContextIndex(ct);

            m_children[index].Add(child);
        }
示例#4
0
 protected ASTComposite(nodeType type, ASTElement parent, int numContexts) : base(type, parent)
 {
     m_children = new List <ASTElement> [numContexts];
 }
示例#5
0
 public CASTAssignment(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }
示例#6
0
 public CASTCompileUnit(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }
示例#7
0
 public CASTDivision(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }
示例#8
0
 public CASTMultiplication(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }
示例#9
0
 public CASTSubtraction(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }
示例#10
0
 { public CASTNUMBER(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
   {
   }
示例#11
0
 public CASTIDENTIFIER(nodeType type, ASTElement parent, int numContexts) : base(type, parent, numContexts)
 {
 }