| Package | Description |
|---|---|
| org.sonar.javascript.parser | |
| org.sonar.javascript.tree.impl.declaration | |
| org.sonar.plugins.javascript.api.tree.declaration |
Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).
|
| org.sonar.plugins.javascript.api.visitors |
| Modifier and Type | Method and Description |
|---|---|
DecoratorTree |
JavaScriptGrammar.DECORATOR() |
DecoratorTree |
TreeFactory.decorator(InternalSyntaxToken atToken,
IdentifierTree name,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>>> rest,
com.sonar.sslr.api.typed.Optional<ArgumentListTree> arguments) |
| 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) |
ClassTree |
TreeFactory.classDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken classToken,
IdentifierTree name,
com.sonar.sslr.api.typed.Optional<ExtendsClauseTree> extendsClause,
InternalSyntaxToken openCurlyBraceToken,
com.sonar.sslr.api.typed.Optional<List<Tree>> members,
InternalSyntaxToken closeCurlyBraceToken) |
ClassTree |
TreeFactory.classExpression(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken classToken,
com.sonar.sslr.api.typed.Optional<IdentifierTree> name,
com.sonar.sslr.api.typed.Optional<ExtendsClauseTree> extendsClause,
InternalSyntaxToken openCurlyBraceToken,
com.sonar.sslr.api.typed.Optional<List<Tree>> members,
InternalSyntaxToken closeCurlyBraceToken) |
DefaultExportDeclarationTree |
TreeFactory.defaultExportDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken exportToken,
InternalSyntaxToken defaultToken,
Object declaration) |
FieldDeclarationTree |
TreeFactory.fieldDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> staticToken,
Tree propertyName,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ExpressionTree>> initializer,
Tree semicolonToken) |
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) |
NamedExportDeclarationTree |
TreeFactory.namedExportDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken exportToken,
Tree object) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoratorTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratorTree> |
NamedExportDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
MethodDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
FieldDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
DefaultExportDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
ClassTreeImpl.decorators() |
List<DecoratorTree> |
AccessorMethodDeclarationTreeImpl.decorators() |
| Constructor and Description |
|---|
AccessorMethodDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken staticToken,
InternalSyntaxToken accessorToken,
Tree name,
ParameterListTree parameters,
BlockTree body) |
DefaultExportDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken exportToken,
InternalSyntaxToken defaultToken,
Tree object,
InternalSyntaxToken semicolon) |
FieldDeclarationTreeImpl(List<DecoratorTree> decorators,
SyntaxToken staticToken,
Tree propertyName,
SyntaxToken equalToken,
ExpressionTree initializer,
SyntaxToken semicolonToken) |
NamedExportDeclarationTreeImpl(List<DecoratorTree> decorators,
InternalSyntaxToken exportToken,
Tree object) |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratorTree> |
NamedExportDeclarationTree.decorators() |
List<DecoratorTree> |
MethodDeclarationTree.decorators() |
List<DecoratorTree> |
FieldDeclarationTree.decorators() |
List<DecoratorTree> |
DefaultExportDeclarationTree.decorators() |
List<DecoratorTree> |
ClassTree.decorators() |
List<DecoratorTree> |
AccessorMethodDeclarationTree.decorators() |
| Modifier and Type | Method and Description |
|---|---|
void |
DoubleDispatchVisitor.visitDecorator(DecoratorTree tree) |
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.