Package org.sonar.javascript.se
Class LocalVariables
- java.lang.Object
-
- org.sonar.javascript.se.LocalVariables
-
public class LocalVariables extends Object
Variables which are defined in the scope of a function and may be evaluated through symbolic execution.
-
-
Constructor Summary
Constructors Constructor Description LocalVariables(Scope functionScope, ControlFlowGraph cfg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Symbol>functionParameters()Subset oftrackableVariables()containing variables which are parameters.Set<Symbol>trackableVariables()Local variables which value may be tracked through symbolic execution of the function body.
-
-
-
Constructor Detail
-
LocalVariables
public LocalVariables(Scope functionScope, ControlFlowGraph cfg)
-
-
Method Detail
-
trackableVariables
public Set<Symbol> trackableVariables()
Local variables which value may be tracked through symbolic execution of the function body.
-
functionParameters
public Set<Symbol> functionParameters()
Subset oftrackableVariables()containing variables which are parameters.
-
-