| Package | Description |
|---|---|
| org.sonar.javascript.se | |
| org.sonar.javascript.tree.impl.expression | |
| org.sonar.javascript.tree.symbols | |
| org.sonar.plugins.javascript.api.symbols | |
| org.sonar.plugins.javascript.api.tree.expression |
Provides interfaces to represent JavaScript source code as abstract syntax trees (AST).
|
| Modifier and Type | Method and Description |
|---|---|
static LiveVariableAnalysis |
LiveVariableAnalysis.create(ControlFlowGraph cfg,
Scope scope) |
void |
SeCheck.endOfExecution(Scope functionScope)
Override this method to perform actions when the execution is finished.
|
void |
SeCheck.startOfExecution(Scope functionScope)
Override this method to perform actions before the start of execution.
|
| Constructor and Description |
|---|
LocalVariables(Scope functionScope,
ControlFlowGraph cfg) |
SymbolicExecution(Scope functionScope,
ControlFlowGraph cfg,
List<SeCheck> checks) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
IdentifierTreeImpl.scope() |
| Modifier and Type | Method and Description |
|---|---|
void |
IdentifierTreeImpl.scope(Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
SymbolModelImpl.getScope(Tree tree) |
Scope |
SymbolModelImpl.globalScope() |
Scope |
SymbolModelBuilder.globalScope() |
Scope |
Scope.outer() |
| Modifier and Type | Method and Description |
|---|---|
Set<Scope> |
SymbolModelImpl.getScopes() |
Set<Scope> |
SymbolModelBuilder.getScopes() |
Map<Tree,Scope> |
ScopeVisitor.getTreeScopeMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
SymbolModelImpl.addScope(Scope scope) |
void |
SymbolModelBuilder.addScope(Scope scope) |
Symbol |
SymbolModelImpl.declareBuiltInSymbol(String name,
Symbol.Kind kind,
Scope scope) |
Symbol |
SymbolModelBuilder.declareBuiltInSymbol(String name,
Symbol.Kind kind,
Scope scope) |
Symbol |
SymbolModelImpl.declareSymbol(String name,
Symbol.Kind kind,
Scope scope) |
Symbol |
SymbolModelBuilder.declareSymbol(String name,
Symbol.Kind kind,
Scope scope) |
| Constructor and Description |
|---|
Scope(Scope outer,
Tree tree,
boolean isBlock) |
| Constructor and Description |
|---|
HoistedSymbolVisitor(Map<Tree,Scope> treeScopeMap) |
SymbolVisitor(Map<Tree,Scope> treeScopeMap) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
SymbolModel.getScope(Tree tree) |
Scope |
Symbol.scope() |
| Constructor and Description |
|---|
Symbol(String name,
Symbol.Kind kind,
Scope scope) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
IdentifierTree.scope() |
Copyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.