예제 #1
0
        public LinkedBuilderContext(NodeTreeParser parser, LinkedBuilderContext parent, INodeBuilder builder)
        {
            this.parser = parser;
            this.parent = parent;
            this.builder = builder;
            this.childs = new LinkedList<LinkedBuilderContext>();

            this.insertCommand = InsertCommand.Last;

            this.contextId = _lastId++;
        }
예제 #2
0
 public NodeTranslatorContext(NodeTreeParser parser, char symbol)
     : base(symbol)
 {
     this.parser = parser;
 }
예제 #3
0
 public LinkedBuilderContext(NodeTreeParser parser, INodeBuilder builder)
     : this(parser, null, builder)
 {
 }