| Package | Description |
|---|---|
| org.sonar.javascript.ast.parser | |
| org.sonar.javascript.model.internal.declaration | |
| org.sonar.javascript.model.internal.expression | |
| org.sonar.javascript.model.internal.statement | |
| org.sonar.javascript.parser | |
| 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 |
|---|---|
DoWhileStatementTreeImpl |
TreeFactory.doWhileStatement(com.sonar.sslr.api.AstNode doToken,
StatementTree statement,
com.sonar.sslr.api.AstNode whileToken,
com.sonar.sslr.api.AstNode openParenthesis,
ExpressionTree condition,
com.sonar.sslr.api.AstNode closeParenthesis,
com.sonar.sslr.api.AstNode eos) |
ElseClauseTreeImpl |
TreeFactory.elseClause(com.sonar.sslr.api.AstNode elseToken,
StatementTree statement) |
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) |
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) |
IfStatementTreeImpl |
TreeFactory.ifStatement(com.sonar.sslr.api.AstNode ifToken,
com.sonar.sslr.api.AstNode openParenToken,
ExpressionTree condition,
com.sonar.sslr.api.AstNode closeParenToken,
StatementTree statement,
Optional<ElseClauseTreeImpl> elseClause) |
LabelledStatementTreeImpl |
TreeFactory.labelledStatement(IdentifierTreeImpl identifier,
com.sonar.sslr.api.AstNode colon,
StatementTree statement) |
WithStatementTreeImpl |
TreeFactory.newWithStatement(com.sonar.sslr.api.AstNode withToken,
com.sonar.sslr.api.AstNode openingParen,
ExpressionTree expression,
com.sonar.sslr.api.AstNode closingParen,
StatementTree statement) |
WhileStatementTreeImpl |
TreeFactory.whileStatement(com.sonar.sslr.api.AstNode whileToken,
com.sonar.sslr.api.AstNode openParenthesis,
ExpressionTree condition,
com.sonar.sslr.api.AstNode closeParenthesis,
StatementTree statetment) |
| Modifier and Type | Method and Description |
|---|---|
CaseClauseTreeImpl |
TreeFactory.caseClause(com.sonar.sslr.api.AstNode caseToken,
ExpressionTree expression,
com.sonar.sslr.api.AstNode colonToken,
Optional<List<StatementTree>> statements) |
DefaultClauseTreeImpl |
TreeFactory.defaultClause(com.sonar.sslr.api.AstNode defaultToken,
com.sonar.sslr.api.AstNode colonToken,
Optional<List<StatementTree>> statements) |
BlockTreeImpl |
TreeFactory.newBlock(com.sonar.sslr.api.AstNode openingCurlyBrace,
Optional<List<StatementTree>> statements,
com.sonar.sslr.api.AstNode closingCurlyBrace) |
| Modifier and Type | Class and Description |
|---|---|
class |
FunctionDeclarationTreeImpl |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassTreeImpl |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockTreeImpl |
class |
BreakStatementTreeImpl |
class |
ContinueStatementTreeImpl |
class |
DebuggerStatementTreeImpl |
class |
DoWhileStatementTreeImpl |
class |
EmptyStatementTreeImpl |
class |
ExpressionStatementTreeImpl |
class |
ForInStatementTreeImpl |
class |
ForOfStatementTreeImpl |
class |
ForStatementTreeImpl |
class |
IfStatementTreeImpl |
class |
LabelledStatementTreeImpl |
class |
ReturnStatementTreeImpl |
class |
SwitchStatementTreeImpl |
class |
ThrowStatementTreeImpl |
class |
TryStatementTreeImpl |
class |
VariableStatementTreeImpl |
class |
WhileStatementTreeImpl |
class |
WithStatementTreeImpl |
| Modifier and Type | Method and Description |
|---|---|
StatementTree |
IfStatementTreeImpl.statement() |
StatementTree |
WithStatementTreeImpl.statement() |
StatementTree |
LabelledStatementTreeImpl.statement() |
StatementTree |
ElseClauseTreeImpl.statement() |
StatementTree |
DoWhileStatementTreeImpl.statement() |
StatementTree |
ForStatementTreeImpl.statement() |
StatementTree |
ForOfStatementTreeImpl.statement() |
StatementTree |
WhileStatementTreeImpl.statement() |
StatementTree |
ForInStatementTreeImpl.statement() |
| Modifier and Type | Method and Description |
|---|---|
List<StatementTree> |
DefaultClauseTreeImpl.statements() |
List<StatementTree> |
CaseClauseTreeImpl.statements() |
List<StatementTree> |
BlockTreeImpl.statements() |
| Constructor and Description |
|---|
BlockTreeImpl(InternalSyntaxToken openCurlyBrace,
List<StatementTree> statements,
InternalSyntaxToken closeCurlyBrace) |
CaseClauseTreeImpl(InternalSyntaxToken caseKeyword,
ExpressionTree expression,
InternalSyntaxToken colon,
List<StatementTree> statements) |
DefaultClauseTreeImpl(InternalSyntaxToken defaultKeyword,
InternalSyntaxToken colon,
List<StatementTree> statements) |
| Modifier and Type | Method and Description |
|---|---|
StatementTree |
ActionGrammar.ITERATION_STATEMENT() |
StatementTree |
ActionGrammar.STATEMENT() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FunctionDeclarationTree
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClassTree
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockTree
|
interface |
BreakStatementTree
|
interface |
ContinueStatementTree
|
interface |
DebuggerStatementTree
|
interface |
DoWhileStatementTree
|
interface |
EmptyStatementTree
|
interface |
ExpressionStatementTree
|
interface |
ForInStatementTree
|
interface |
ForOfStatementTree
|
interface |
ForStatementTree
|
interface |
IfStatementTree
|
interface |
IterationStatementTree
Common interface for iteration statements.
|
interface |
LabelledStatementTree
|
interface |
ReturnStatementTree
|
interface |
SwitchStatementTree
|
interface |
ThrowStatementTree
|
interface |
TryStatementTree
|
interface |
VariableStatementTree
|
interface |
WhileStatementTree
|
interface |
WithStatementTree
|
| Modifier and Type | Method and Description |
|---|---|
StatementTree |
WhileStatementTree.statement() |
StatementTree |
WithStatementTree.statement() |
StatementTree |
LabelledStatementTree.statement() |
StatementTree |
ForInStatementTree.statement() |
StatementTree |
ForStatementTree.statement() |
StatementTree |
DoWhileStatementTree.statement() |
StatementTree |
ElseClauseTree.statement() |
StatementTree |
ForOfStatementTree.statement() |
StatementTree |
IterationStatementTree.statement() |
StatementTree |
IfStatementTree.statement() |
| Modifier and Type | Method and Description |
|---|---|
List<StatementTree> |
SwitchClauseTree.statements() |
List<StatementTree> |
BlockTree.statements() |
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.