| Package | Description |
|---|---|
| org.sonar.javascript.parser | |
| org.sonar.javascript.tree.impl.declaration | |
| org.sonar.javascript.tree.impl.expression | |
| org.sonar.plugins.javascript.api.tree.declaration |
Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).
|
| org.sonar.plugins.javascript.api.tree.expression |
Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).
|
| org.sonar.plugins.javascript.api.visitors |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTree |
JavaScriptGrammar.FORMAL_PARAMETER_CLAUSE() |
ParameterListTree |
TreeFactory.formalParameterClause1(InternalSyntaxToken lParenthesis,
SeparatedList<BindingElementTree> parameters,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> trailingComma,
InternalSyntaxToken rParenthesis) |
ParameterListTree |
TreeFactory.formalParameterClause2(InternalSyntaxToken lParenthesis,
SeparatedList<BindingElementTree> parameters,
InternalSyntaxToken comma,
RestElementTree restElementTree,
InternalSyntaxToken rParenthesis) |
ParameterListTree |
TreeFactory.formalParameterClause3(InternalSyntaxToken lParenthesis,
com.sonar.sslr.api.typed.Optional<RestElementTree> restElementTree,
InternalSyntaxToken rParenthesis) |
| 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,
ParameterListTree parameters,
BlockTree body) |
FunctionDeclarationTree |
TreeFactory.functionAndGeneratorDeclaration(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
InternalSyntaxToken functionToken,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> starToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
FunctionExpressionTree |
TreeFactory.functionExpression(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
InternalSyntaxToken functionKeyword,
com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName,
ParameterListTree parameters,
BlockTree body) |
FunctionExpressionTree |
TreeFactory.generatorExpression(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starOperator,
com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName,
ParameterListTree parameters,
BlockTree body) |
MethodDeclarationTree |
TreeFactory.generatorMethod(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken,
InternalSyntaxToken starToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
MethodDeclarationTree |
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,
ParameterListTree parameters,
BlockTree body) |
| Modifier and Type | Class and Description |
|---|---|
class |
ParameterListTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTree |
MethodDeclarationTreeImpl.parameterClause() |
ParameterListTree |
FunctionDeclarationTreeImpl.parameterClause() |
ParameterListTree |
AccessorMethodDeclarationTreeImpl.parameterClause() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionDeclarationTree |
FunctionDeclarationTreeImpl.create(SyntaxToken asyncToken,
InternalSyntaxToken functionKeyword,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
static FunctionDeclarationTree |
FunctionDeclarationTreeImpl.createGenerator(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
static MethodDeclarationTreeImpl |
MethodDeclarationTreeImpl.generator(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken starToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
static MethodDeclarationTreeImpl |
MethodDeclarationTreeImpl.method(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken asyncToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
| Constructor and Description |
|---|
AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken accessorToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTree |
FunctionExpressionTreeImpl.parameterClause() |
| Modifier and Type | Method and Description |
|---|---|
static FunctionExpressionTree |
FunctionExpressionTreeImpl.create(SyntaxToken asyncToken,
SyntaxToken functionToken,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
static FunctionExpressionTree |
FunctionExpressionTreeImpl.createGenerator(SyntaxToken functionKeyword,
SyntaxToken star,
IdentifierTree name,
ParameterListTree parameters,
BlockTree body) |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTree |
MethodDeclarationTree.parameterClause() |
ParameterListTree |
FunctionDeclarationTree.parameterClause() |
| Modifier and Type | Method and Description |
|---|---|
ParameterListTree |
FunctionExpressionTree.parameterClause() |
| Modifier and Type | Method and Description |
|---|---|
void |
DoubleDispatchVisitor.visitParameterList(ParameterListTree tree) |
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.