|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.inxar.jenesis.MVM.MCodeable | +--com.inxar.jenesis.MLiteral
Standard Literal
implementations.
Method Summary | |
Comment |
getComment()
Gets the comment for this Codeable object. |
Type |
getType()
Returns the return type of this Expression . |
void |
setComment(Comment comment)
|
void |
setComment(int type,
java.lang.String text)
Sets the comment to the given type and text. |
CodeWriter |
toCode(CodeWriter out)
Renders the codeable object to the given writer and returns it. |
java.lang.Object |
toObject()
Returns the underlying Object . |
java.lang.String |
toString()
|
VirtualMachine |
vm()
Returns the virtual machine to which this Codeable object belongs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.inxar.jenesis.Codeable |
setComment, vm |
Method Detail |
public java.lang.Object toObject()
Literal
Object
.toObject
in interface Literal
public Type getType()
Expression
Expression
.getType
in interface Expression
public CodeWriter toCode(CodeWriter out)
Codeable
toCode
in interface Codeable
toCode
in class com.inxar.jenesis.MVM.MCodeable
public void setComment(Comment comment)
public Comment getComment()
Codeable
Codeable
object.getComment
in interface Codeable
getComment
in class com.inxar.jenesis.MVM.MCodeable
public void setComment(int type, java.lang.String text)
Codeable
setComment
in interface Codeable
public VirtualMachine vm()
Codeable
Codeable
object belongs.vm
in interface Codeable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |