| Package | Description |
|---|---|
| org.sonar.javascript.parser | |
| org.sonar.javascript.tree.impl.declaration | |
| org.sonar.javascript.tree.impl.expression | |
| org.sonar.javascript.tree.impl.statement | |
| 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.statement |
Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).
|
| Modifier and Type | Method and Description |
|---|---|
BindingElementTree |
JavaScriptGrammar.BINDING_ELEMENT() |
BindingElementTree |
JavaScriptGrammar.BINDING_PATTERN() |
BindingElementTree |
JavaScriptGrammar.BINDING_PROPERTY() |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<BindingElementTree> |
JavaScriptGrammar.BINDING_ELEMENT_LIST() |
SeparatedList<BindingElementTree> |
JavaScriptGrammar.BINDING_PROPERTY_LIST() |
SeparatedList<BindingElementTree> |
TreeFactory.bindingElementList1(BindingElementTree element,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> rest) |
SeparatedList<BindingElementTree> |
TreeFactory.bindingPropertyList(BindingElementTree bindingProperty,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> restProperties) |
SeparatedList<BindingElementTree> |
JavaScriptGrammar.FORMAL_PARAMETER_LIST() |
SeparatedList<BindingElementTree> |
TreeFactory.formalParameters(BindingElementTree formalParameter,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> formalParameters) |
| Modifier and Type | Method and Description |
|---|---|
ArrayBindingPatternTree |
TreeFactory.arrayBindingPattern(InternalSyntaxToken openBracketToken,
com.sonar.sslr.api.typed.Optional<BindingElementTree> firstElement,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,com.sonar.sslr.api.typed.Optional<BindingElementTree>>>> optionalElements,
com.sonar.sslr.api.typed.Optional<BindingElementTree> restElement,
InternalSyntaxToken closeBracketToken) |
ArrayBindingPatternTree |
TreeFactory.arrayBindingPattern(InternalSyntaxToken openBracketToken,
com.sonar.sslr.api.typed.Optional<BindingElementTree> firstElement,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,com.sonar.sslr.api.typed.Optional<BindingElementTree>>>> optionalElements,
com.sonar.sslr.api.typed.Optional<BindingElementTree> restElement,
InternalSyntaxToken closeBracketToken) |
ArrayBindingPatternTree |
TreeFactory.arrayBindingPattern(InternalSyntaxToken openBracketToken,
com.sonar.sslr.api.typed.Optional<BindingElementTree> firstElement,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,com.sonar.sslr.api.typed.Optional<BindingElementTree>>>> optionalElements,
com.sonar.sslr.api.typed.Optional<BindingElementTree> restElement,
InternalSyntaxToken closeBracketToken) |
SeparatedList<BindingElementTree> |
TreeFactory.bindingElementList1(BindingElementTree element,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> rest) |
SeparatedList<BindingElementTree> |
TreeFactory.bindingPropertyList(BindingElementTree bindingProperty,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> restProperties) |
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) |
SeparatedList<BindingElementTree> |
TreeFactory.formalParameters(BindingElementTree formalParameter,
com.sonar.sslr.api.typed.Optional<List<TreeFactory.Tuple<InternalSyntaxToken,BindingElementTree>>> formalParameters) |
ObjectBindingPatternTree |
TreeFactory.objectBindingPattern(InternalSyntaxToken lCurlyBrace,
com.sonar.sslr.api.typed.Optional<SeparatedList<BindingElementTree>> list,
com.sonar.sslr.api.typed.Optional<TreeFactory.Tuple<InternalSyntaxToken,com.sonar.sslr.api.typed.Optional<RestElementTree>>> commaAndRest,
InternalSyntaxToken rCurlyBrace) |
VariableDeclarationTree |
TreeFactory.variableDeclaration1(InternalSyntaxToken token,
SeparatedList<BindingElementTree> variables) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayBindingPatternTreeImpl |
class |
BindingPropertyTreeImpl |
class |
InitializedBindingElementTreeImpl |
class |
ObjectBindingPatternTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
BindingElementTree |
InitializedBindingElementTreeImpl.left() |
BindingElementTree |
BindingPropertyTreeImpl.value() |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<BindingElementTree> |
ObjectBindingPatternTreeImpl.elements() |
SeparatedList<Optional<BindingElementTree>> |
ArrayBindingPatternTreeImpl.elements() |
List<BindingElementTree> |
MethodDeclarationTreeImpl.parameterList() |
List<BindingElementTree> |
FunctionDeclarationTreeImpl.parameterList() |
List<BindingElementTree> |
AccessorMethodDeclarationTreeImpl.parameterList() |
SeparatedList<BindingElementTree> |
ParameterListTreeImpl.parameters() |
| Constructor and Description |
|---|
BindingPropertyTreeImpl(Tree name,
InternalSyntaxToken colonToken,
BindingElementTree value) |
InitializedBindingElementTreeImpl(BindingElementTree left,
InternalSyntaxToken equalToken,
ExpressionTree right) |
| Constructor and Description |
|---|
ArrayBindingPatternTreeImpl(InternalSyntaxToken openBracketToken,
SeparatedList<Optional<BindingElementTree>> elements,
InternalSyntaxToken closeBracketToken) |
ObjectBindingPatternTreeImpl(SyntaxToken openCurlyBrace,
SeparatedList<BindingElementTree> bindingElements,
SyntaxToken closeCurlyBrace) |
ParameterListTreeImpl(InternalSyntaxToken openParenthesis,
SeparatedList<BindingElementTree> parameters,
InternalSyntaxToken closeParenthesis) |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentifierTreeImpl |
class |
RestElementTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
BindingElementTree |
RestElementTreeImpl.element() |
| Modifier and Type | Method and Description |
|---|---|
List<BindingElementTree> |
FunctionExpressionTreeImpl.parameterList() |
List<BindingElementTree> |
ArrowFunctionTreeImpl.parameterList() |
| Constructor and Description |
|---|
RestElementTreeImpl(InternalSyntaxToken ellipsis,
BindingElementTree element) |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<BindingElementTree> |
VariableDeclarationTreeImpl.variables() |
| Constructor and Description |
|---|
CatchBlockTreeImpl(InternalSyntaxToken catchKeyword,
InternalSyntaxToken openParenthesis,
BindingElementTree parameter,
InternalSyntaxToken closeParenthesis,
BlockTree block) |
| Constructor and Description |
|---|
VariableDeclarationTreeImpl(Tree.Kind kind,
InternalSyntaxToken token,
SeparatedList<BindingElementTree> variables) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ArrayBindingPatternTree
Common interface for all types of
Array Binding Pattern
(ES6)
|
interface |
BindingPropertyTree
|
interface |
InitializedBindingElementTree
|
interface |
ObjectBindingPatternTree
|
| Modifier and Type | Method and Description |
|---|---|
BindingElementTree |
InitializedBindingElementTree.left() |
BindingElementTree |
BindingPropertyTree.value() |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<BindingElementTree> |
ObjectBindingPatternTree.elements() |
SeparatedList<Optional<BindingElementTree>> |
ArrayBindingPatternTree.elements() |
List<BindingElementTree> |
FunctionTree.parameterList() |
SeparatedList<BindingElementTree> |
ParameterListTree.parameters() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IdentifierTree
|
interface |
RestElementTree
Common interface for all types of Rest Element
|
| Modifier and Type | Method and Description |
|---|---|
BindingElementTree |
RestElementTree.element() |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<BindingElementTree> |
VariableDeclarationTree.variables() |
Copyright © 2011–2017 SonarSource and Eriks Nukis. All rights reserved.