public final class DocCommentLine extends java.lang.Object implements IConstruct
| Property Name | Property Description |
text | This si the actual text of the comment line. |
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 |
|---|
DocCommentLine() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IAstVisitor visitor)
This method welcomes a visitor that wants to visit this object.
|
DocCommentLine |
copy()
This method creates a shallow copy of this object.
|
static DocCommentLine |
create(java.lang.String text,
SourceLocation location)
This method creates a new instance of this class.
|
SourceLocation |
getLocation()
Getter.
|
java.lang.String |
getText()
Getter.
|
DocCommentLine |
setLocation(SourceLocation value)
Setter.
|
DocCommentLine |
setText(java.lang.String 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 DocCommentLine setText(java.lang.String value)
value - is the new value of property text.text set to value.public java.lang.String getText()
text.public DocCommentLine 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 DocCommentLine create(java.lang.String text, SourceLocation location)
text - is the value for property text.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 DocCommentLine 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