Class LocalVariableOrThis
A local variable or this in a particular container.
Import path
import semmle.javascript.dataflow.internal.VariableOrThisDirect supertypes
Known direct subtypes
Predicates
| asLocalVariable | Gets the local variable represented by this newtype, if any. |
| asThisContainer | If this represents |
| getAThisExpr | Gets an explicit access to |
| getAThisUse | Gets an implicit or explicit use of the |
| getAUse | Gets an expression that accesses this variable or |
| getDeclaringContainer | Gets the container declaring this variable or is the enclosing container for |
| getLocation | Gets the location of a declaration of this variable, or the declaring container if this is |
| getName | Gets the name of the variable or the string |
| isCaptured | Holds if this is a captured variable or captured |
| toString | Gets the name of the variable or the string |