Exemple #1
0
 public DeclRefExprProperties(AstToken token)
 {
     Token      = token;
     Type       = token.properties[0];
     InstanceId = token.properties[3];
     Name       = token.properties[4];
 }
Exemple #2
0
        public void AddChild(AstToken token, int depth)
        {
            if (depth <= 0)
            {
                AddChild(token);
                return;
            }

            children[^ 1].AddChild(token, depth - 1);