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