Exemple #1
0
 private List<ast.VariableDeclaration> FormalParameters()
 {
     var parser = new CommaSeparatedListParser(Input, ErrorReporter);
     return parser.ParseList<ast.VariableDeclaration, PunctuationToken>(
         () => VariableOrFormalParameterDeclaration(
             ast.VariableDeclaration.Kind.Formal ,",", ")"), ")");
 }
 private List<IExpression> MethodInvocationArguments()
 {
     var parser = new CommaSeparatedListParser(Input, ErrorReporter);
     return parser.ParseList<IExpression, PunctuationToken>(ParseExpression, ")");
 }