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