| 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.flow | |
| 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.tree.flow |
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<FlowGenericParameterClauseTree> genericParameterClause,
com.sonar.sslr.api.typed.Optional<ExtendsClauseTree> extendsClause,
com.sonar.sslr.api.typed.Optional<FlowImplementsClauseTree> implementsClause,
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) |
FlowIndexerPropertyDefinitionKeyTree |
TreeFactory.flowIndexerPropertyDefinitionKey(InternalSyntaxToken lbracket,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<IdentifierTree,InternalSyntaxToken>> name,
FlowTypeTree type,
InternalSyntaxToken rbracket) |
FlowMethodPropertyDefinitionKeyTree |
TreeFactory.flowMethodPropertyDefinitionKeyTree(com.sonar.sslr.api.typed.Optional<IdentifierTree> identifierTree,
com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericClause,
FlowFunctionTypeParameterClauseTree parameterClauseTree) |
FlowNamespacedTypeTree |
TreeFactory.flowNamespacedType(IdentifierTree identifierTree,
List<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>> rest) |
FunctionExpressionTree |
TreeFactory.functionExpression(com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> asyncToken,
InternalSyntaxToken functionKeyword,
com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName,
com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause,
ParameterListTree parameters,
com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType,
BlockTree body) |
FunctionExpressionTree |
TreeFactory.generatorExpression(InternalSyntaxToken functionKeyword,
InternalSyntaxToken starOperator,
com.sonar.sslr.api.typed.Optional<IdentifierTree> functionName,
com.sonar.sslr.api.typed.Optional<FlowGenericParameterClauseTree> genericParameterClause,
ParameterListTree parameters,
com.sonar.sslr.api.typed.Optional<FlowTypeAnnotationTree> returnType,
BlockTree body) |
ExpressionTree |
TreeFactory.jsxMemberExpression(IdentifierTree identifierTree,
List<TreeFactory.Tuple<InternalSyntaxToken,IdentifierTree>> rest) |
NameSpaceExportDeclarationTree |
TreeFactory.namespaceExportDeclaration(InternalSyntaxToken exportToken,
com.sonar.sslr.api.typed.Optional<InternalSyntaxToken> flowTypeKeywordToken,
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 |
ExportDefaultBindingWithNameSpaceExportImpl.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingWithExportListImpl.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingImpl.exportedDefaultIdentifier() |
IdentifierTree |
SpecifierTreeImpl.leftName() |
IdentifierTree |
NameSpaceImportTreeImpl.localName() |
IdentifierTree |
FunctionDeclarationTreeImpl.name() |
IdentifierTree |
ClassTreeImpl.name() |
IdentifierTree |
SpecifierTreeImpl.rightName() |
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,
FlowGenericParameterClauseTree genericParameterClause,
ParameterListTree parameters,
FlowTypeAnnotationTree returnType,
BlockTree body) |
static FunctionExpressionTree |
FunctionExpressionTreeImpl.createGenerator(SyntaxToken functionKeyword,
SyntaxToken star,
IdentifierTree name,
FlowGenericParameterClauseTree genericParameterClause,
ParameterListTree parameters,
FlowTypeAnnotationTree returnType,
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 |
|---|---|
IdentifierTree |
FlowIndexerPropertyDefinitionKeyTreeImpl.identifier() |
IdentifierTree |
FlowGenericParameterTreeImpl.identifier() |
IdentifierTree |
FlowFunctionTypeParameterTreeImpl.identifier() |
IdentifierTree |
FlowMethodPropertyDefinitionKeyTreeImpl.methodName() |
IdentifierTree |
FlowInterfaceDeclarationTreeImpl.name() |
IdentifierTree |
FlowFunctionSignatureTreeImpl.name() |
IdentifierTree |
FlowTypeAliasStatementTreeImpl.typeAlias() |
IdentifierTree |
FlowOpaqueTypeTreeImpl.typeAlias() |
| Modifier and Type | Method and Description |
|---|---|
List<IdentifierTree> |
FlowTypedBindingElementTreeImpl.bindingIdentifiers() |
List<IdentifierTree> |
FlowOptionalBindingElementTreeImpl.bindingIdentifiers() |
Optional<IdentifierTree> |
FlowSimpleTypeTreeImpl.getIdentifierTree() |
SeparatedList<IdentifierTree> |
FlowNamespacedTypeTreeImpl.identifiers() |
| Constructor and Description |
|---|
FlowNamespacedTypeTreeImpl(SeparatedList<IdentifierTree> identifiers) |
| 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 |
ExportDefaultBindingWithNameSpaceExport.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBindingWithExportList.exportedDefaultIdentifier() |
IdentifierTree |
ExportDefaultBinding.exportedDefaultIdentifier() |
IdentifierTree |
SpecifierTree.leftName() |
IdentifierTree |
NameSpaceImportTree.localName() |
IdentifierTree |
FunctionDeclarationTree.name() |
IdentifierTree |
ClassTree.name() |
IdentifierTree |
SpecifierTree.rightName() |
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 |
|---|---|
IdentifierTree |
FlowIndexerPropertyDefinitionKeyTree.identifier() |
IdentifierTree |
FlowGenericParameterTree.identifier() |
IdentifierTree |
FlowFunctionTypeParameterTree.identifier() |
IdentifierTree |
FlowMethodPropertyDefinitionKeyTree.methodName() |
IdentifierTree |
FlowInterfaceDeclarationTree.name() |
IdentifierTree |
FlowFunctionSignatureTree.name() |
IdentifierTree |
FlowTypeAliasStatementTree.typeAlias() |
IdentifierTree |
FlowOpaqueTypeTree.typeAlias() |
| Modifier and Type | Method and Description |
|---|---|
Optional<IdentifierTree> |
FlowSimpleTypeTree.getIdentifierTree() |
SeparatedList<IdentifierTree> |
FlowNamespacedTypeTree.identifiers() |
| Modifier and Type | Method and Description |
|---|---|
void |
DoubleDispatchVisitor.visitIdentifier(IdentifierTree tree) |
Copyright © 2011–2018 SonarSource and Eriks Nukis. All rights reserved.