| Package | Description |
|---|---|
| org.sonar.javascript.parser | |
| org.sonar.javascript.tree.impl.declaration | |
| org.sonar.javascript.tree.impl.expression | |
| org.sonar.javascript.tree.impl.statement |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
JavaScriptGrammar.BLOCK() |
BlockTreeImpl |
TreeFactory.newBlock(InternalSyntaxToken openingCurlyBrace,
com.sonar.sslr.api.typed.Optional<List<StatementTree>> statements,
InternalSyntaxToken closingCurlyBrace) |
| Modifier and Type | Method and Description |
|---|---|
AccessorMethodDeclarationTree |
TreeFactory.accessor(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken,
InternalSyntaxToken accessorToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
TryStatementTreeImpl |
TreeFactory.completeTryStatement(InternalSyntaxToken tryToken,
BlockTreeImpl block,
TryStatementTreeImpl catchFinallyBlock) |
FunctionDeclarationTree |
TreeFactory.functionAndGeneratorDeclaration(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
InternalSyntaxToken functionToken,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionExpressionTree |
TreeFactory.functionExpression(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
InternalSyntaxToken functionKeyword,
com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
GeneratorMethodDeclarationTree |
TreeFactory.generator(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken,
InternalSyntaxToken starToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
FunctionExpressionTree |
TreeFactory.generatorExpression(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starOperator,
com.sonar.sslr.api.typed.Optional<IdentifierTreeImpl> functionName,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
MethodDeclarationTreeImpl |
TreeFactory.method(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
CatchBlockTreeImpl |
TreeFactory.newCatchBlock(InternalSyntaxToken catchToken,
InternalSyntaxToken lparenToken,
BindingElementTree catchParameter,
InternalSyntaxToken rparenToken,
BlockTreeImpl block) |
TryStatementTreeImpl |
TreeFactory.newTryStatementWithFinally(InternalSyntaxToken finallyKeyword,
BlockTreeImpl block) |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
MethodDeclarationTreeImpl.body() |
BlockTreeImpl |
GeneratorMethodDeclarationTreeImpl.body() |
BlockTreeImpl |
AccessorMethodDeclarationTreeImpl.body() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionDeclarationTree |
FunctionDeclarationTreeImpl.create(SyntaxToken asyncToken,
InternalSyntaxToken functionKeyword,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
static FunctionDeclarationTree |
FunctionDeclarationTreeImpl.createGenerator(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTreeImpl name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Constructor and Description |
|---|
AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken accessorToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
GeneratorMethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken starToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
MethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken asyncToken,
Tree name,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
| Modifier and Type | Method and Description |
|---|---|
BlockTreeImpl |
FunctionExpressionTreeImpl.body() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionExpressionTree |
FunctionExpressionTreeImpl.create(SyntaxToken asyncToken,
SyntaxToken functionToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTreeImpl body) |
static FunctionExpressionTree |
FunctionExpressionTreeImpl.createGenerator(SyntaxToken functionKeyword,
SyntaxToken star,
IdentifierTree name,
ParameterListTree parameters,
BlockTreeImpl body) |
| 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) |
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.