| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
TreeFactory.newBlock(com.sonar.sslr.api.AstNode openingCurlyBrace,
Optional<List<StatementTree>> statements,
com.sonar.sslr.api.AstNode closingCurlyBrace) |
| Modifier and Type | Method and Description |
|---|---|
MethodDeclarationTreeImpl |
TreeFactory.accessor(com.sonar.sslr.api.AstNode accessorToken,
ExpressionTree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
TryStatementTreeImpl |
TreeFactory.completeTryStatement(com.sonar.sslr.api.AstNode tryToken,
BlockTreeImpl block,
TryStatementTreeImpl catchFinallyBlock) |
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) |
CatchBlockTreeImpl |
TreeFactory.newCatchBlock(com.sonar.sslr.api.AstNode catchToken,
com.sonar.sslr.api.AstNode lparenToken,
BindingElementTree catchParameter,
com.sonar.sslr.api.AstNode rparenToken,
BlockTreeImpl block) |
TryStatementTreeImpl |
TreeFactory.newTryStatementWithFinally(com.sonar.sslr.api.AstNode finallyKeyword,
BlockTreeImpl block) |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
MethodDeclarationTreeImpl.body() |
| 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) |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
FunctionExpressionTreeImpl.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
|
| Modifier and Type | Method and Description |
|---|---|
TryStatementTreeImpl |
TryStatementTreeImpl.complete(InternalSyntaxToken tryKeyword,
BlockTreeImpl block) |
| Constructor and Description |
|---|
CatchBlockTreeImpl(InternalSyntaxToken catchKeyword,
InternalSyntaxToken openParenthesis,
BindingElementTree parameter,
InternalSyntaxToken closeParenthesis,
BlockTreeImpl block) |
TryStatementTreeImpl(InternalSyntaxToken finallyKeyword,
BlockTreeImpl finallyBlock) |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
ActionGrammar.BLOCK() |
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.