| 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 |
|---|---|
DecoratorTree |
JavaScriptGrammar.DECORATOR() |
DecoratorTree |
TreeFactory.decorator(InternalSyntaxToken atToken,
IdentifierTreeImpl name,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>>> rest,
com.sonar.sslr.api.typed.Optional<ParameterListTree> 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,
ParameterListTreeImpl parameters,
BlockTreeImpl body) |
ClassTreeImpl |
TreeFactory.classDeclaration(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken classToken,
IdentifierTreeImpl name,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ExpressionTree>> extendsClause,
InternalSyntaxToken openCurlyBraceToken,
com.sonar.sslr.api.typed.Optional<List<Tree>> members,
InternalSyntaxToken closeCurlyBraceToken) |
ClassTreeImpl |
TreeFactory.classExpression(com.sonar.sslr.api.typed.Optional<List<DecoratorTree>> decorators,
InternalSyntaxToken classToken,
com.sonar.sslr.api.typed.Optional<IdentifierTreeImpl> name,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,ExpressionTree>> extendsClause,
InternalSyntaxToken openCurlyBraceToken,
com.sonar.sslr.api.typed.Optional<List<Tree>> members,
InternalSyntaxToken closeCurlyBraceToken) |
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) |
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) |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoratorTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratorTree> |
MethodDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
GeneratorMethodDeclarationTreeImpl.decorators() |
List<DecoratorTree> |
AccessorMethodDeclarationTreeImpl.decorators() |
| 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 |
|---|---|
List<DecoratorTree> |
ClassTreeImpl.decorators() |
| Modifier and Type | Method and Description |
|---|---|
static ClassTreeImpl |
ClassTreeImpl.newClassDeclaration(List<DecoratorTree> decorators,
InternalSyntaxToken classToken,
IdentifierTreeImpl name,
InternalSyntaxToken extendsToken,
ExpressionTree superClass,
InternalSyntaxToken openCurlyBraceToken,
List<Tree> elements,
InternalSyntaxToken closeCurlyBraceToken) |
static ClassTreeImpl |
ClassTreeImpl.newClassExpression(List<DecoratorTree> decorators,
InternalSyntaxToken classToken,
IdentifierTreeImpl name,
InternalSyntaxToken extendsToken,
ExpressionTree superClass,
InternalSyntaxToken openCurlyBraceToken,
List<Tree> elements,
InternalSyntaxToken closeCurlyBraceToken) |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratorTree> |
MethodDeclarationTree.decorators() |
| Modifier and Type | Method and Description |
|---|---|
List<DecoratorTree> |
ClassTree.decorators() |
| Modifier and Type | Method and Description |
|---|---|
void |
DoubleDispatchVisitor.visitDecorator(DecoratorTree tree) |
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.