|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jet.core.parser.ast.JETASTElement
org.eclipse.jet.core.parser.ast.BodyElement
org.eclipse.jet.core.parser.ast.EmbeddedExpression
public class EmbeddedExpression
Represent an embedded expression in the template body
| Constructor Summary | |
|---|---|
protected |
EmbeddedExpression(JETAST ast,
int line,
int column,
int start,
int end,
java.lang.String language,
char[] content)
|
| Method Summary | |
|---|---|
protected void |
accept0(JETASTVisitor visitor)
Visit the AST and its contained elements. |
java.lang.String |
getExpression()
Return the embedded Expression |
java.lang.String |
getLanguage()
Return the language of the embedded expression |
boolean |
removeLineWhenOtherwiseEmpty()
Indicate whether the the surrounding whitespace, including the trailing new line should be removed from the template output. |
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.jet.core.parser.ast.JETASTElement |
|---|
accept, getAst, getColumn, getEnd, getLine, getNextElement, getParent, getPrevElement, getStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected EmbeddedExpression(JETAST ast,
int line,
int column,
int start,
int end,
java.lang.String language,
char[] content)
| Method Detail |
|---|
protected void accept0(JETASTVisitor visitor)
JETASTElement
accept0 in class JETASTElementpublic boolean removeLineWhenOtherwiseEmpty()
JETASTElementfalse, while element
that do should should return true.
removeLineWhenOtherwiseEmpty in class JETASTElementtrue if the containing line should be removed if
otherwise empty.public final java.lang.String getLanguage()
public final java.lang.String getExpression()
public java.lang.String toString()
toString in class java.lang.Object
|
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 | |||||||||