示例#1
0
 public NodeCTabl(ITerminalNode terminal, NodeIter prop = null)
     : base(terminal, prop)
 {
     if (terminal != null)
     {
         _tablName = terminal.Symbol.Text;
     }
 }
示例#2
0
        public override Node VisitProps(P.PropsContext context)
        {
            if (context.prop().Length == 0)
            {
                return(null);
            }
            var props = new NodeIter[context.prop().Length];

            for (int i = 0; i < context.prop().Length; i++)
            {
                props[i] = (NodeIter)Go(context.prop()[i]);
                if (i != 0)
                {
                    props[i - 1].Prop = props[i];
                }
            }
            return(props[0]);
        }
示例#3
0
 protected NodeIter(ITerminalNode terminal, NodeIter prop)
     : base(terminal)
 {
     Prop = prop;
 }
示例#4
0
 public NodeCChildren(ITerminalNode children, NodeIter prop = null)
     : base(children, prop)
 {
 }