예제 #1
0
 private AstNode ProduceConstant(Token token)
 {
     _lexer.NextToken();
     return(new ConstantAstNode(token));
 }
예제 #2
0
 private AstNode ParseIndentifier(Token identifier)
 {
     return(new MethodCallAstNode(identifier, new List <AstNode>()));
 }