|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.compiler.JET2ASTElement
org.eclipse.jet.compiler.Comment
An JET2 AST element representing a comment
Method Summary | |
---|---|
void |
accept(JET2ASTVisitor visitor)
Visit the AST and its contained elements. |
int |
getCommentEnd()
|
int |
getCommentStart()
|
java.lang.String |
getCommentText()
Return the comment text |
boolean |
removeLineWhenOtherwiseEmpty()
Indicate whether the the surrounding whitespace, including the trailing new line should be removed from the template output. |
Methods inherited from class org.eclipse.jet.compiler.JET2ASTElement |
---|
getColumn, getEnd, getLine, getNextElement, getParent, getPrevElement, getStart |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void accept(JET2ASTVisitor visitor)
JET2ASTElement
accept
in class JET2ASTElement
visitor
- JET2ASTElement.accept(org.eclipse.jet.compiler.JET2ASTVisitor)
public int getCommentEnd()
public int getCommentStart()
public java.lang.String getCommentText()
public boolean removeLineWhenOtherwiseEmpty()
JET2ASTElement
false
,
while element that do should should return true
.
removeLineWhenOtherwiseEmpty
in class JET2ASTElement
true
if the containing line should be removed if otherwise empty.
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |