Example #1
0
 public SyntaxTree(ChunkNode root, List <Token> tokens, List <StatementNode> statementNodeList, ImmutableList <ParseError> errorList)
 {
     this.Root              = root;
     this.Tokens            = tokens;
     this.ErrorList         = errorList;
     this.StatementNodeList = statementNodeList;
 }
Example #2
0
 public SyntaxTree(ChunkNode root, List<Token> tokens, List<StatementNode> statementNodeList, ImmutableList<ParseError> errorList)
 {
     this.Root = root;
     this.Tokens = tokens;
     this.ErrorList = errorList;
     this.StatementNodeList = statementNodeList;
 }