| Modifier and Type | Method and Description |
|---|---|
ParameterListTreeImpl |
TreeFactory.completeArguments(com.sonar.sslr.api.AstNode openParenToken,
Optional<ParameterListTreeImpl> arguments,
com.sonar.sslr.api.AstNode closeParenToken) |
ParameterListTreeImpl |
TreeFactory.completeFormalParameterList(com.sonar.sslr.api.AstNode openParenthesis,
Optional<ParameterListTreeImpl> parameters,
com.sonar.sslr.api.AstNode closeParenthesis) |
ParameterListTreeImpl |
TreeFactory.newArgumentList(ExpressionTree argument,
Optional<List<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,ExpressionTree>>> restArguments) |
ParameterListTreeImpl |
TreeFactory.newFormalParameterList(BindingElementTree formalParameter,
Optional<List<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,BindingElementTree>>> formalParameters,
Optional<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,RestElementTreeImpl>> restElement) |
ParameterListTreeImpl |
TreeFactory.newFormalRestParameterList(RestElementTreeImpl restParameter) |
| Modifier and Type | Method and Description |
|---|---|
MethodDeclarationTreeImpl |
TreeFactory.accessor(com.sonar.sslr.api.AstNode accessorToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionDeclarationTreeImpl |
TreeFactory.functionAndGeneratorDeclaration(com.sonar.sslr.api.AstNode functionToken,
Optional<com.sonar.sslr.api.AstNode> starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionExpressionTreeImpl |
TreeFactory.functionExpression(com.sonar.sslr.api.AstNode functionKeyword,
Optional<com.sonar.sslr.api.AstNode> functionName,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionExpressionTreeImpl |
TreeFactory.generatorExpression(com.sonar.sslr.api.AstNode functionKeyword,
com.sonar.sslr.api.AstNode starOperator,
Optional<IdentifierTreeImpl> functionName,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
MethodDeclarationTreeImpl |
TreeFactory.methodOrGenerator(Optional<com.sonar.sslr.api.AstNode> starToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
NewExpressionTreeImpl |
TreeFactory.newExpressionWithArgument(com.sonar.sslr.api.AstNode newToken,
ExpressionTree expression,
ParameterListTreeImpl arguments) |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTreeImpl |
TreeFactory.completeArguments(com.sonar.sslr.api.AstNode openParenToken,
Optional<ParameterListTreeImpl> arguments,
com.sonar.sslr.api.AstNode closeParenToken) |
ParameterListTreeImpl |
TreeFactory.completeFormalParameterList(com.sonar.sslr.api.AstNode openParenthesis,
Optional<ParameterListTreeImpl> parameters,
com.sonar.sslr.api.AstNode closeParenthesis) |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTreeImpl |
ParameterListTreeImpl.complete(InternalSyntaxToken openParenthesis,
InternalSyntaxToken closeParenthesis) |
| Modifier and Type | Method and Description |
|---|---|
static MethodDeclarationTreeImpl |
MethodDeclarationTreeImpl.newAccessor(InternalSyntaxToken accessorToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
static MethodDeclarationTreeImpl |
MethodDeclarationTreeImpl.newMethodOrGenerator(InternalSyntaxToken starToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Constructor and Description |
|---|
FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionDeclarationTreeImpl(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Constructor and Description |
|---|
FunctionExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken functionKeyword,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body,
com.google.common.collect.ImmutableList<com.sonar.sslr.api.AstNode> children)
Constructor for named function expression and function declaration
|
FunctionExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken functionKeyword,
InternalSyntaxToken star,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body,
List<com.sonar.sslr.api.AstNode> children)
Constructor for named generator expression and generator declaration
|
FunctionExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken functionKeyword,
InternalSyntaxToken star,
ParameterListTreeImpl parameters,
BlockTreeImpl body,
com.google.common.collect.ImmutableList<com.sonar.sslr.api.AstNode> children)
Constructor for NOT named generator expression
|
FunctionExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken functionKeyword,
ParameterListTreeImpl parameters,
BlockTreeImpl body,
com.google.common.collect.ImmutableList<com.sonar.sslr.api.AstNode> children)
Constructor for NOT named function expression
|
NewExpressionTreeImpl(Tree.Kind kind,
InternalSyntaxToken newKeyword,
ExpressionTree expression,
ParameterListTreeImpl arguments) |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTreeImpl |
ActionGrammar.ARGUMENT_LIST() |
ParameterListTreeImpl |
ActionGrammar.ARGUMENTS() |
ParameterListTreeImpl |
ActionGrammar.FORMAL_PARAMETER_LIST() |
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.