public final class GetFieldExpression extends java.lang.Object implements IExpression
| Property Name | Property Description |
owner | This expression produces the object that has the field. |
name | This is the name of the field to retrieve. |
location | This is the source-location information regarding this construct. |
This file was auto-generated on (Sun May 31 11:54:12 EDT 2015).
| Constructor and Description |
|---|
GetFieldExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IAstVisitor visitor)
This method welcomes a visitor that wants to visit this object.
|
GetFieldExpression |
copy()
This method creates a shallow copy of this object.
|
static GetFieldExpression |
create(IExpression owner,
Name name,
SourceLocation location)
This method creates a new instance of this class.
|
SourceLocation |
getLocation()
Getter.
|
Name |
getName()
Getter.
|
IExpression |
getOwner()
Getter.
|
GetFieldExpression |
setLocation(SourceLocation value)
Setter.
|
GetFieldExpression |
setName(Name value)
Setter.
|
GetFieldExpression |
setOwner(IExpression value)
Setter.
|
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
This method creates a map representation of this struct.
|
java.lang.String |
toString() |
public GetFieldExpression setOwner(IExpression value)
value - is the new value of property owner.owner set to value.public IExpression getOwner()
owner.public GetFieldExpression setName(Name value)
value - is the new value of property name.name set to value.public Name getName()
name.public GetFieldExpression setLocation(SourceLocation value)
setLocation in interface IConstructvalue - is the new value of property location.location set to value.public SourceLocation getLocation()
getLocation in interface IConstructlocation.public static GetFieldExpression create(IExpression owner, Name name, SourceLocation location)
owner - is the value for property owner.name - is the value for property name.location - is the value for property location.public void accept(IAstVisitor visitor)
accept in interface IConstructvisitor - is the visitor that is visiting this object.public GetFieldExpression copy()
copy in interface IConstructpublic java.util.Map<java.lang.String,java.lang.Object> toMap()
Each key is the name of a field. Each value is the result of calling the key field's getter.
public java.lang.String toString()
toString in class java.lang.Object