SPeCS Packages Documentation
Preparing search index...
@specs-feup/coral
mir/path/Path
Path
Interface Path
A path to a value, such as
a
or
(*x).y
.
interface
Path
{
get
jp
()
:
Expression
;
get
prefixes
()
:
Path
[]
;
get
shallowPrefixes
()
:
Path
[]
;
get
supportingPrefixes
()
:
Path
[]
;
get
ty
()
:
Ty
;
get
vardecl
()
:
Vardecl
;
contains
(
other
:
Path
)
:
boolean
;
equals
(
other
:
Path
)
:
boolean
;
toString
()
:
string
;
}
Implemented by
PathDeref
PathMemberAccess
PathVarRef
Index
Accessors
jp
prefixes
shallow
Prefixes
supporting
Prefixes
ty
vardecl
Methods
contains
equals
to
String
Accessors
jp
get
jp
()
:
Expression
Returns
Expression
prefixes
get
prefixes
()
:
Path
[]
Returns
Path
[]
shallow
Prefixes
get
shallowPrefixes
()
:
Path
[]
Returns
Path
[]
supporting
Prefixes
get
supportingPrefixes
()
:
Path
[]
Returns
Path
[]
ty
get
ty
()
:
Ty
Retrieve the type of the value at this path.
Returns
Ty
vardecl
get
vardecl
()
:
Vardecl
Returns
Vardecl
Methods
contains
contains
(
other
:
Path
)
:
boolean
Parameters
other
:
Path
Returns
boolean
equals
equals
(
other
:
Path
)
:
boolean
Parameters
other
:
Path
Returns
boolean
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
jp
prefixes
shallow
Prefixes
supporting
Prefixes
ty
vardecl
Methods
contains
equals
to
String
SPeCS Packages Documentation
Loading...
A path to a value, such as
aor(*x).y.