Type | Property and Description |
---|---|
DynamicProperty |
asDynamic
Casts this reference to a dynamic property reference.
|
Property |
as
Casts this reference to a property reference.
|
StaticProperty |
asStatic
Casts this reference to a static property reference.
|
Modifier and Type | Class and Description |
---|---|
static class |
SyntacticReference.Type |
Modifier and Type | Field and Description |
---|---|
SourceLocation |
location
The source location of the reference.
|
SyntacticReference.Type |
type
The type of the reference.
|
Constructor and Description |
---|
SyntacticReference(SyntacticReference.Type type,
SourceLocation location) |
Modifier and Type | Method and Description |
---|---|
DynamicProperty |
asDynamicProperty()
Casts this reference to a dynamic property reference.
|
Property |
asProperty()
Casts this reference to a property reference.
|
StaticProperty |
asStaticProperty()
Casts this reference to a static property reference.
|
Variable |
asVariable()
Casts this reference to a variable reference.
|
(package private) SyntacticReference |
changeSourceLocation(SourceLocation sourceLocation)
Creates a new reference as a copy of this one but with the given source location.
|
public DynamicProperty asDynamicProperty
public Property asProperty
public StaticProperty asStaticProperty
public final SourceLocation location
public final SyntacticReference.Type type
public SyntacticReference(SyntacticReference.Type type, SourceLocation location)
public DynamicProperty asDynamicProperty()
public Property asProperty()
public StaticProperty asStaticProperty()
public Variable asVariable()
SyntacticReference changeSourceLocation(SourceLocation sourceLocation)
Copyright © 2009-2019 Aarhus University