Class: StaticVariable
Defined in: src/static_analysis.ts:97
A variable as a sequence of segments and its location.
Constructors
Constructor
new StaticVariable(
segments,location):StaticVariable
Defined in: src/static_analysis.ts:98
Parameters
segments
location
Returns
StaticVariable
Properties
location
readonlylocation:Location
Defined in: src/static_analysis.ts:100
segments
readonlysegments:Segments
Defined in: src/static_analysis.ts:99
Methods
equals()
equals(
other):boolean
Defined in: src/static_analysis.ts:106
Variables with the same segments compare equal, regardless of span.
Parameters
other
StaticVariable
Returns
boolean
root()
root():
string
Defined in: src/static_analysis.ts:110
Returns
string
toString()
toString():
string
Defined in: src/static_analysis.ts:118
Returns
string