| Modifier and Type | Method and Description |
|---|---|
ArrowFunctionTreeImpl |
TreeFactory.arrowFunction(Tree parameters,
com.sonar.sslr.api.AstNode spacingNoLB,
com.sonar.sslr.api.AstNode doubleArrow,
Tree body) |
ArrowFunctionTreeImpl |
TreeFactory.arrowFunctionNoIn(Tree parameters,
com.sonar.sslr.api.AstNode spacingNoLB,
com.sonar.sslr.api.AstNode doubleArrow,
Tree body) |
DefaultExportDeclarationTreeImpl |
TreeFactory.defaultExportDeclaration(com.sonar.sslr.api.AstNode exportToken,
com.sonar.sslr.api.AstNode defaultToken,
Tree declaration) |
ForInStatementTreeImpl |
TreeFactory.forInStatement(com.sonar.sslr.api.AstNode forToken,
com.sonar.sslr.api.AstNode openParenthesis,
Tree variableOrExpression,
com.sonar.sslr.api.AstNode inToken,
ExpressionTree expression,
com.sonar.sslr.api.AstNode closeParenthesis,
StatementTree statement) |
ForOfStatementTreeImpl |
TreeFactory.forOfStatement(com.sonar.sslr.api.AstNode forToken,
com.sonar.sslr.api.AstNode openParenthesis,
Tree variableOrExpression,
com.sonar.sslr.api.AstNode ofToken,
ExpressionTree expression,
com.sonar.sslr.api.AstNode closeParenthesis,
StatementTree statement) |
NamedExportDeclarationTreeImpl |
TreeFactory.namedExportDeclaration(com.sonar.sslr.api.AstNode exportToken,
Tree object) |
ObjectBindingPatternTreeImpl |
TreeFactory.newObjectBindingPattern(Tree bindingProperty,
Optional<List<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,BindingElementTree>>> restProperties,
Optional<com.sonar.sslr.api.AstNode> trailingComma) |
ObjectLiteralTreeImpl |
TreeFactory.newObjectLiteral(Tree property,
Optional<List<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,Tree>>> restProperties,
Optional<com.sonar.sslr.api.AstNode> trailingComma) |
| Modifier and Type | Method and Description |
|---|---|
ForStatementTreeImpl |
TreeFactory.forStatement(com.sonar.sslr.api.AstNode forToken,
com.sonar.sslr.api.AstNode openParenthesis,
Optional<Tree> init,
com.sonar.sslr.api.AstNode firstSemiToken,
Optional<ExpressionTree> condition,
com.sonar.sslr.api.AstNode secondSemiToken,
Optional<ExpressionTree> update,
com.sonar.sslr.api.AstNode closeParenthesis,
StatementTree statement) |
ModuleTreeImpl |
TreeFactory.module(List<Tree> items) |
ObjectLiteralTreeImpl |
TreeFactory.newObjectLiteral(Tree property,
Optional<List<TreeFactory.Tuple<com.sonar.sslr.api.AstNode,Tree>>> restProperties,
Optional<com.sonar.sslr.api.AstNode> trailingComma) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
Scope.tree() |
| Modifier and Type | Method and Description |
|---|---|
Scope |
SymbolModelImpl.getScope(Tree tree) |
| Constructor and Description |
|---|
Scope(Scope outer,
Tree tree) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FunctionTree |
| Modifier and Type | Method and Description |
|---|---|
void |
AstTreeVisitorContextImpl.addIssue(JavaScriptCheck check,
Tree tree,
String message) |
void |
AstTreeVisitorContextImpl.addIssue(JavaScriptCheck check,
Tree tree,
String message,
double cost) |
static boolean |
SyntacticEquivalence.areEquivalent(Tree leftNode,
Tree rightNode) |
protected boolean |
SubscriptionAstTreeVisitor.isSubscribed(Tree tree) |
void |
SubscriptionAstTreeVisitor.leaveNode(Tree tree) |
protected void |
SubscriptionAstTreeVisitor.scanTree(Tree tree) |
void |
SubscriptionAstTreeVisitor.visitFile(Tree scriptTree) |
void |
SubscriptionAstTreeVisitor.visitNode(Tree tree) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SyntacticEquivalence.areEquivalent(List<? extends Tree> leftList,
List<? extends Tree> rightList) |
static boolean |
SyntacticEquivalence.areEquivalent(List<? extends Tree> leftList,
List<? extends Tree> rightList) |
| Modifier and Type | Class and Description |
|---|---|
class |
JavaScriptTree |
| Modifier and Type | Method and Description |
|---|---|
abstract Iterator<Tree> |
JavaScriptTree.childrenIterator()
Creates iterator for children of this node.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayBindingPatternTreeImpl |
class |
BindingPropertyTreeImpl |
class |
DefaultExportDeclarationTreeImpl |
class |
ExportClauseTreeImpl |
class |
FromClauseTreeImpl |
class |
FunctionDeclarationTreeImpl |
class |
ImportClauseTreeImpl |
class |
ImportDeclarationTreeImpl |
class |
ImportModuleDeclarationTreeImpl |
class |
InitializedBindingElementTreeImpl |
class |
MethodDeclarationTreeImpl |
class |
ModuleTreeImpl |
class |
NamedExportDeclarationTreeImpl |
class |
NameSpaceExportDeclarationTreeImpl |
class |
NameSpaceSpecifierTreeImpl |
class |
ObjectBindingPatternTreeImpl |
class |
ParameterListTreeImpl |
class |
ScriptTreeImpl |
class |
SpecifierListTreeImpl |
class |
SpecifierTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ImportDeclarationTreeImpl.eos() |
Tree |
DefaultExportDeclarationTreeImpl.eos() |
Tree |
ImportModuleDeclarationTreeImpl.eos() |
Tree |
ExportClauseTreeImpl.eos() |
Tree |
NamedExportDeclarationTreeImpl.object() |
Tree |
DefaultExportDeclarationTreeImpl.object() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Tree> |
ScriptTreeImpl.childrenIterator() |
Iterator<Tree> |
NamedExportDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
FunctionDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
MethodDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
SpecifierListTreeImpl.childrenIterator() |
Iterator<Tree> |
InitializedBindingElementTreeImpl.childrenIterator() |
Iterator<Tree> |
ArrayBindingPatternTreeImpl.childrenIterator() |
Iterator<Tree> |
SpecifierTreeImpl.childrenIterator() |
Iterator<Tree> |
ImportDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
ModuleTreeImpl.childrenIterator() |
Iterator<Tree> |
NameSpaceExportDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
DefaultExportDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
NameSpaceSpecifierTreeImpl.childrenIterator() |
Iterator<Tree> |
ImportModuleDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
FromClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
ObjectBindingPatternTreeImpl.childrenIterator() |
Iterator<Tree> |
BindingPropertyTreeImpl.childrenIterator() |
Iterator<Tree> |
ExportClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
ImportClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
ParameterListTreeImpl.childrenIterator() |
SeparatedList<Tree> |
ObjectBindingPatternTreeImpl.elements() |
List<Tree> |
ModuleTreeImpl.items() |
SeparatedList<Tree> |
ParameterListTreeImpl.parameters() |
| Constructor and Description |
|---|
DefaultExportDeclarationTreeImpl(InternalSyntaxToken exportToken,
InternalSyntaxToken defaultToken,
Tree object) |
NamedExportDeclarationTreeImpl(InternalSyntaxToken exportToken,
Tree object) |
| Constructor and Description |
|---|
ModuleTreeImpl(List<Tree> items) |
ObjectBindingPatternTreeImpl(SeparatedList<Tree> bindingElements) |
ParameterListTreeImpl(Tree.Kind kind,
SeparatedList<Tree> parameters) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayLiteralTreeImpl |
class |
ArrowFunctionTreeImpl |
class |
AssignmentExpressionTreeImpl |
class |
BinaryExpressionTreeImpl |
class |
BracketMemberExpressionTreeImpl |
class |
CallExpressionTreeImpl |
class |
ClassTreeImpl |
class |
ComputedPropertyNameTreeImpl |
class |
ConditionalExpressionTreeImpl |
class |
DotMemberExpressionTreeImpl |
class |
FunctionExpressionTreeImpl |
class |
IdentifierTreeImpl |
class |
LiteralTreeImpl |
class |
NewExpressionTreeImpl |
class |
ObjectLiteralTreeImpl |
class |
PairPropertyTreeImpl |
class |
ParenthesisedExpressionTreeImpl |
class |
PostfixExpressionTreeImpl |
class |
PrefixExpressionTreeImpl |
class |
RestElementTreeImpl |
class |
SuperTreeImpl |
class |
TaggedTemplateTreeImpl |
class |
TemplateCharactersTreeImpl |
class |
TemplateExpressionTreeImpl |
class |
TemplateLiteralTreeImpl |
class |
ThisTreeImpl |
class |
UndefinedTreeImpl |
class |
YieldExpressionTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ArrowFunctionTreeImpl.conciseBody() |
Tree |
ArrowFunctionTreeImpl.parameters() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Tree> |
DotMemberExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
CallExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
ConditionalExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
ClassTreeImpl.childrenIterator() |
Iterator<Tree> |
NewExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
ComputedPropertyNameTreeImpl.childrenIterator() |
Iterator<Tree> |
UndefinedTreeImpl.childrenIterator() |
Iterator<Tree> |
BracketMemberExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
RestElementTreeImpl.childrenIterator() |
Iterator<Tree> |
BinaryExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
FunctionExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
ArrayLiteralTreeImpl.childrenIterator() |
Iterator<Tree> |
ObjectLiteralTreeImpl.childrenIterator() |
Iterator<Tree> |
ParenthesisedExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
AssignmentExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
TemplateLiteralTreeImpl.childrenIterator() |
Iterator<Tree> |
TemplateCharactersTreeImpl.childrenIterator() |
Iterator<Tree> |
LiteralTreeImpl.childrenIterator() |
Iterator<Tree> |
ThisTreeImpl.childrenIterator() |
Iterator<Tree> |
PairPropertyTreeImpl.childrenIterator() |
Iterator<Tree> |
IdentifierTreeImpl.childrenIterator() |
Iterator<Tree> |
PostfixExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
ArrowFunctionTreeImpl.childrenIterator() |
Iterator<Tree> |
PrefixExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
TaggedTemplateTreeImpl.childrenIterator() |
Iterator<Tree> |
YieldExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
TemplateExpressionTreeImpl.childrenIterator() |
Iterator<Tree> |
SuperTreeImpl.childrenIterator() |
SeparatedList<Tree> |
ObjectLiteralTreeImpl.properties() |
| Constructor and Description |
|---|
ArrowFunctionTreeImpl(Tree parameters,
InternalSyntaxToken doubleArrow,
Tree body) |
| Constructor and Description |
|---|
ObjectLiteralTreeImpl(SeparatedList<Tree> properties) |
| Modifier and Type | Class and Description |
|---|---|
class |
InternalSyntaxToken |
class |
InternalSyntaxTrivia |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Tree> |
InternalSyntaxToken.childrenIterator() |
Iterator<Tree> |
InternalSyntaxTrivia.childrenIterator() |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockTreeImpl |
class |
BreakStatementTreeImpl |
class |
CaseClauseTreeImpl |
class |
CatchBlockTreeImpl |
class |
ContinueStatementTreeImpl |
class |
DebuggerStatementTreeImpl |
class |
DefaultClauseTreeImpl |
class |
DoWhileStatementTreeImpl |
class |
ElseClauseTreeImpl |
class |
EmptyStatementTreeImpl |
class |
ExpressionStatementTreeImpl |
class |
ForInStatementTreeImpl |
class |
ForOfStatementTreeImpl |
class |
ForStatementTreeImpl |
class |
IfStatementTreeImpl |
class |
LabelledStatementTreeImpl |
class |
ReturnStatementTreeImpl |
class |
SwitchStatementTreeImpl |
class |
ThrowStatementTreeImpl |
class |
TryStatementTreeImpl |
class |
VariableDeclarationTreeImpl |
class |
VariableStatementTreeImpl |
class |
WhileStatementTreeImpl |
class |
WithStatementTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ThrowStatementTreeImpl.endOfStatement() |
Tree |
ReturnStatementTreeImpl.endOfStatement() |
Tree |
ExpressionStatementTreeImpl.endOfStatement() |
Tree |
BreakStatementTreeImpl.endOfStatement() |
Tree |
DebuggerStatementTreeImpl.endOfStatement() |
Tree |
VariableStatementTreeImpl.endOfStatement() |
Tree |
ContinueStatementTreeImpl.endOfStatement() |
Tree |
WithStatementTreeImpl.expression() |
Tree |
ExpressionStatementTreeImpl.expression() |
Tree |
ForStatementTreeImpl.init() |
Tree |
CatchBlockTreeImpl.parameter() |
Tree |
ForOfStatementTreeImpl.variableOrExpression() |
Tree |
ForInStatementTreeImpl.variableOrExpression() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Tree> |
ThrowStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
IfStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
EmptyStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
WithStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
CatchBlockTreeImpl.childrenIterator() |
Iterator<Tree> |
LabelledStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
ElseClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
ReturnStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
DefaultClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
ExpressionStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
BreakStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
DebuggerStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
DoWhileStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
TryStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
VariableDeclarationTreeImpl.childrenIterator() |
Iterator<Tree> |
ForStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
SwitchStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
CaseClauseTreeImpl.childrenIterator() |
Iterator<Tree> |
VariableStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
ForOfStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
ContinueStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
WhileStatementTreeImpl.childrenIterator() |
Iterator<Tree> |
BlockTreeImpl.childrenIterator() |
Iterator<Tree> |
ForInStatementTreeImpl.childrenIterator() |
| Constructor and Description |
|---|
ForInStatementTreeImpl(InternalSyntaxToken forKeyword,
InternalSyntaxToken openParenthesis,
Tree variableOrExpression,
InternalSyntaxToken inKeyword,
ExpressionTree expression,
InternalSyntaxToken closeParenthesis,
StatementTree statement) |
ForOfStatementTreeImpl(InternalSyntaxToken forKeyword,
InternalSyntaxToken openParenthesis,
Tree variableOrExpression,
InternalSyntaxToken ofKeyword,
ExpressionTree expression,
InternalSyntaxToken closeParenthesis,
StatementTree statement) |
ForStatementTreeImpl(InternalSyntaxToken forKeyword,
InternalSyntaxToken openParenthesis,
Tree init,
InternalSyntaxToken firstSemicolon,
ExpressionTree condition,
InternalSyntaxToken secondSemicolon,
ExpressionTree update,
InternalSyntaxToken closeParenthesis,
StatementTree statement,
List<com.sonar.sslr.api.AstNode> children) |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ActionGrammar.PROPERTY_DEFINITION() |
| Modifier and Type | Method and Description |
|---|---|
void |
AstTreeVisitorContext.addIssue(JavaScriptCheck check,
Tree tree,
String message)
Creates an issue.
|
void |
AstTreeVisitorContext.addIssue(JavaScriptCheck check,
Tree tree,
String message,
double cost)
Creates an issue.
|
| Modifier and Type | Method and Description |
|---|---|
Scope |
SymbolModel.getScope(Tree tree) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ModuleTree
Interface for type Module.
|
interface |
ScriptTree |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Tree> |
Tree.Kind.getAssociatedInterface() |
List<Tree> |
ModuleTree.items() |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ExportClauseTree.eos() |
Tree |
ImportModuleDeclarationTree.eos() |
Tree |
ImportDeclarationTree.eos() |
Tree |
DefaultExportDeclarationTree.eos() |
Tree |
SpecifierTree.name() |
Tree |
NamedExportDeclarationTree.object() |
Tree |
DefaultExportDeclarationTree.object() |
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<Tree> |
ObjectBindingPatternTree.elements() |
SeparatedList<Tree> |
ParameterListTree.parameters() |
| Modifier and Type | Method and Description |
|---|---|
Tree |
ArrowFunctionTree.conciseBody()
Either
BlockTree or ExpressionTree |
Tree |
LexicalDeclarationTree.eos() |
Tree |
ArrowFunctionTree.parameters()
|
| Modifier and Type | Method and Description |
|---|---|
SeparatedList<Tree> |
ObjectLiteralTree.properties() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SyntaxToken
Represents a token in the syntax tree.
|
interface |
SyntaxTrivia
Represents a Trivia in the SyntaxTree.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockTree
|
interface |
BreakStatementTree
|
interface |
CaseClauseTree
|
interface |
CatchBlockTree
|
interface |
ContinueStatementTree
|
interface |
DebuggerStatementTree
|
interface |
DefaultClauseTree
|
interface |
DoWhileStatementTree
|
interface |
ElseClauseTree
|
interface |
EmptyStatementTree
|
interface |
ExpressionStatementTree
|
interface |
ForInStatementTree
|
interface |
ForOfStatementTree
|
interface |
ForStatementTree
|
interface |
IfStatementTree
|
interface |
IterationStatementTree
Common interface for iteration statements.
|
interface |
LabelledStatementTree
|
interface |
ReturnStatementTree
|
interface |
StatementTree
Common interface for all types of Statements.
|
interface |
SwitchClauseTree
|
interface |
SwitchStatementTree
|
interface |
ThrowStatementTree
|
interface |
TryStatementTree
|
interface |
VariableDeclarationTree
|
interface |
VariableStatementTree
|
interface |
WhileStatementTree
|
interface |
WithStatementTree
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
ThrowStatementTree.endOfStatement() |
Tree |
ContinueStatementTree.endOfStatement() |
Tree |
ReturnStatementTree.endOfStatement() |
Tree |
DebuggerStatementTree.endOfStatement() |
Tree |
VariableStatementTree.endOfStatement() |
Tree |
BreakStatementTree.endOfStatement() |
Tree |
ExpressionStatementTree.endOfStatement() |
Tree |
WithStatementTree.expression() |
Tree |
ExpressionStatementTree.expression() |
Tree |
ForStatementTree.init() |
Tree |
CatchBlockTree.parameter() |
Tree |
ForInStatementTree.variableOrExpression() |
Tree |
ForOfStatementTree.variableOrExpression() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseTreeVisitor.scan(Tree tree) |
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.