|
||||||||||
| 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.TextElement
TextElement
public final class TextElement
Define a Text Element in the JET2 AST
| Constructor Summary | |
|---|---|
TextElement(org.eclipse.jet.compiler.JET2AST jet2ast,
TextElement element)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
accept(JET2ASTVisitor visitor)
Deprecated. Visit the AST and its contained elements. |
org.eclipse.jet.internal.parser.LineInfo[] |
getLines()
Deprecated. |
char[] |
getRawText()
Deprecated. |
char[] |
getText()
Deprecated. Return the text content |
boolean |
isTrimFirstLine()
Deprecated. |
boolean |
isTrimLastLine()
Deprecated. |
void |
setTrimFirstLine(boolean trim)
Deprecated. |
void |
setTrimLastLine(boolean trim)
Deprecated. |
| Methods inherited from class org.eclipse.jet.compiler.JET2ASTElement |
|---|
getAst, getColumn, getEnd, getLine, getNextElement, getParent, getPrevElement, getStart, removeLineWhenOtherwiseEmpty, setDelegate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextElement(org.eclipse.jet.compiler.JET2AST jet2ast,
TextElement element)
| Method Detail |
|---|
public void accept(JET2ASTVisitor visitor)
JET2ASTElement
accept in class JET2ASTElementJET2ASTElement.accept(org.eclipse.jet.compiler.JET2ASTVisitor)public char[] getText()
public char[] getRawText()
public void setTrimLastLine(boolean trim)
public final boolean isTrimLastLine()
public void setTrimFirstLine(boolean trim)
public final boolean isTrimFirstLine()
public final org.eclipse.jet.internal.parser.LineInfo[] getLines()
|
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 | |||||||||