public final class ForeverStatement extends java.lang.Object implements IStatement
| Property Name | Property Description |
body | This is the statement that is repeatedly executed. |
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 |
|---|
ForeverStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IAstVisitor visitor)
This method welcomes a visitor that wants to visit this object.
|
ForeverStatement |
copy()
This method creates a shallow copy of this object.
|
static ForeverStatement |
create(SequenceStatement body,
SourceLocation location)
This method creates a new instance of this class.
|
SequenceStatement |
getBody()
Getter.
|
SourceLocation |
getLocation()
Getter.
|
ForeverStatement |
setBody(SequenceStatement value)
Setter.
|
ForeverStatement |
setLocation(SourceLocation 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 ForeverStatement setBody(SequenceStatement value)
value - is the new value of property body.body set to value.public SequenceStatement getBody()
body.public ForeverStatement 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 ForeverStatement create(SequenceStatement body, SourceLocation location)
body - is the value for property body.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 ForeverStatement 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