|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.compiler.JET2ASTElement
public abstract class JET2ASTElement
An abstract class representing common aspects of all JET2 AST elements.
| Method Summary | |
|---|---|
abstract void |
accept(JET2ASTVisitor visitor)
Visit the AST and its contained elements. |
int |
getColumn()
Return the column number (one-based) at which the element starts. |
int |
getEnd()
The document relative offset of the first character after the element. |
int |
getLine()
Return the line (one-based) on which the element starts. |
JET2ASTElement |
getNextElement()
|
JET2ASTElement |
getParent()
|
JET2ASTElement |
getPrevElement()
|
int |
getStart()
The document relative offset of the start of the element. |
abstract boolean |
removeLineWhenOtherwiseEmpty()
Indicate whether the the surrounding whitespace, including the trailing new line should be removed from the template output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final JET2ASTElement getParent()
public final int getStart()
public final int getEnd()
public abstract void accept(JET2ASTVisitor visitor)
visitor - public final int getLine()
public JET2ASTElement getNextElement()
public JET2ASTElement getPrevElement()
public final int getColumn()
public abstract boolean removeLineWhenOtherwiseEmpty()
false,
while element that do should should return true.
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 | |||||||||