Example #1
0
        public void AddChild(Token token)
        {
            var node = new NodeAST(token)
            {
                Parent = this
            };

            AddChild(node);
        }
Example #2
0
 public void AddChild(NodeAST node)
 {
     node.Parent = this;
     children.Add(node);
 }