| Modifier and Type | Field and Description |
|---|---|
static int |
COMMENT_LENGTH_UNLIMITED |
static int |
D_COMMENT_LENGTH |
static int |
M_COMMENT_LENGTH |
static int |
S_COMMENT_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
cast(Class<T> clazz) |
Comment |
getComment()
Gets the comment for this
Codeable object. |
String |
getText()
Gets the text for this comment.
|
boolean |
isBlockWithAbruptCompletion() |
net.sourceforge.jenesis4java.impl.MVM.MCodeable |
setComment(int type,
String text)
Sets the comment to the given type and text.
|
MComment |
setText(String text)
Sets the text for this comment.
|
CodeWriter |
toCode(CodeWriter out)
Renders the codeable object to the given writer and returns it.
|
String |
toString() |
int |
type()
Returns the type of this comment.
|
void |
visit(IVisitor visitor)
walk through the code tree and alow every element to be excanged.
|
VirtualMachine |
vm()
Returns the virtual machine to which this
Codeable object
belongs. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcast, getComment, isBlockWithAbruptCompletion, setComment, toCode, vmpublic static final int S_COMMENT_LENGTH
public static final int M_COMMENT_LENGTH
public static final int D_COMMENT_LENGTH
public static final int COMMENT_LENGTH_UNLIMITED
public String getText()
Commentpublic MComment setText(String text)
Commentpublic int type()
Commentpublic void visit(IVisitor visitor)
Codeablepublic <T> T cast(Class<T> clazz)
public Comment getComment()
CodeableCodeable object.getComment in interface Codeablepublic boolean isBlockWithAbruptCompletion()
isBlockWithAbruptCompletion in interface Codeablepublic net.sourceforge.jenesis4java.impl.MVM.MCodeable setComment(int type,
String text)
CodeablesetComment in interface Codeablepublic CodeWriter toCode(CodeWriter out)
Codeablepublic VirtualMachine vm()
CodeableCodeable object
belongs.Copyright © 2000–2015 jenesis4java. All rights reserved.