| Package | Description |
|---|---|
| org.sonar.javascript.parser | |
| org.sonar.javascript.se | |
| org.sonar.javascript.tree.impl.declaration | |
| org.sonar.javascript.tree.impl.expression | |
| org.sonar.javascript.tree.impl.statement | |
| org.sonar.javascript.tree.symbols | |
| org.sonar.javascript.tree.symbols.type | |
| org.sonar.plugins.javascript.api.symbols | |
| 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 |
|---|---|
IdentifierTree |
JavaScriptGrammar.BINDING_IDENTIFIER() |
IdentifierTree |
TreeFactory.bindingIdentifier(InternalSyntaxToken identifier) |
IdentifierTree |
JavaScriptGrammar.IDENTIFIER_NAME() |
IdentifierTree |
JavaScriptGrammar.IDENTIFIER_REFERENCE() |
IdentifierTree |
TreeFactory.identifierName(InternalSyntaxToken identifier) |
IdentifierTree |
TreeFactory.identifierReference(InternalSyntaxToken identifier) |
IdentifierTree |
JavaScriptGrammar.THIS() |
IdentifierTree |
TreeFactory.thisExpression(InternalSyntaxToken thisKeyword) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
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) |
ExpressionTree |
TreeFactory.jsxMemberExpression(IdentifierTree identifierTree,
List<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>> rest) |
NameSpaceExportDeclarationTree |
TreeFactory.namespaceExportDeclaration(InternalSyntaxToken exportToken,
InternalSyntaxToken starToken,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>> nameSpaceExport,
FromClauseTree fromClause,
Tree semicolonToken) |
| Modifier and Type | Method and Description |
|---|---|
SymbolicValue |
ProgramState.getSymbolicValue(IdentifierTree identifier,
SymbolicExecution execution) |
| Modifier and Type | Method and Description |
|---|---|
IdentifierTree |
ImportClauseTreeImpl.defaultImport() |
IdentifierTree |
ExportDefaultBindingWithNameSpaceExportImpl.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingWithExportListImpl.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingImpl.exportedDefaultIdentifier() |
IdentifierTree |
SpecifierTreeImpl.localName() |
IdentifierTree |
NameSpaceSpecifierTreeImpl.localName() |
IdentifierTree |
SpecifierTreeImpl.name() |
IdentifierTree |
FunctionDeclarationTreeImpl.name() |
IdentifierTree |
ClassTreeImpl.name() |
IdentifierTree |
NameSpaceExportDeclarationTreeImpl.synonymIdentifier() |
IdentifierTree |
ExportDefaultBindingWithNameSpaceExportImpl.synonymIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierTree> |
ObjectBindingPatternTreeImpl.bindingIdentifiers()
Return the list of new binding names introduced by this object binding pattern.
|
List<IdentifierTree> |
InitializedBindingElementTreeImpl.bindingIdentifiers() |
List<IdentifierTree> |
BindingPropertyTreeImpl.bindingIdentifiers() |
List<IdentifierTree> |
ArrayBindingPatternTreeImpl.bindingIdentifiers()
Return the list of new binding names introduced by this array binding pattern.
|
SeparatedList<IdentifierTree> |
DecoratorTreeImpl.body() |
List<IdentifierTree> |
ParameterListTreeImpl.parameterIdentifiers() |
| Constructor and Description |
|---|
DecoratorTreeImpl(SyntaxToken atToken,
SeparatedList<IdentifierTree> body,
ArgumentListTree arguments) |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentifierTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
IdentifierTree |
ObjectAssignmentPatternPairElementTreeImpl.key() |
IdentifierTree |
FunctionExpressionTreeImpl.name() |
IdentifierTree |
DotMemberExpressionTreeImpl.property() |
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierTree> |
RestElementTreeImpl.bindingIdentifiers() |
List<IdentifierTree> |
IdentifierTreeImpl.bindingIdentifiers() |
List<IdentifierTree> |
ArrowFunctionTreeImpl.parameterIdentifiers() |
| 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) |
| Constructor and Description |
|---|
DotMemberExpressionTreeImpl(ExpressionTree object,
SyntaxToken dot,
IdentifierTree property) |
ObjectAssignmentPatternPairElementTreeImpl(IdentifierTree key,
SyntaxToken colonToken,
Tree element) |
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierTree> |
CatchBlockTreeImpl.parameterIdentifiers() |
List<IdentifierTree> |
VariableDeclarationTreeImpl.variableIdentifiers() |
| Modifier and Type | Method and Description |
|---|---|
void |
SymbolVisitor.visitIdentifier(IdentifierTree tree) |
void |
ScopeVisitor.visitIdentifier(IdentifierTree tree) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClassType.addMethod(IdentifierTree name,
FunctionType functionType,
Scope scope) |
static boolean |
WebAPI.isDocument(IdentifierTree tree) |
boolean |
JQuery.isJQueryObject(IdentifierTree identifierTree) |
void |
TypeVisitor.visitIdentifier(IdentifierTree tree) |
| Modifier and Type | Method and Description |
|---|---|
IdentifierTree |
Usage.identifierTree() |
| Modifier and Type | Method and Description |
|---|---|
void |
Symbol.addUsage(IdentifierTree identifierTree,
Usage.Kind usageKind) |
| Modifier and Type | Method and Description |
|---|---|
IdentifierTree |
ImportClauseTree.defaultImport() |
IdentifierTree |
ExportDefaultBindingWithNameSpaceExport.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingWithExportList.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBinding.exportedDefaultIdentifier() |
IdentifierTree |
SpecifierTree.localName() |
IdentifierTree |
FunctionDeclarationTree.name() |
IdentifierTree |
ClassTree.name() |
IdentifierTree |
NameSpaceExportDeclarationTree.synonymIdentifier() |
IdentifierTree |
ExportDefaultBindingWithNameSpaceExport.synonymIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierTree> |
BindingElementTree.bindingIdentifiers() |
SeparatedList<IdentifierTree> |
DecoratorTree.body() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierTree |
ObjectAssignmentPatternPairElementTree.key() |
IdentifierTree |
FunctionExpressionTree.name() |
IdentifierTree |
DotMemberExpressionTree.property() |
| Modifier and Type | Method and Description |
|---|---|
void |
DoubleDispatchVisitor.visitIdentifier(IdentifierTree tree) |
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.