|
||||||||||
| 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.JETDirective
public final class JETDirective
Define a Directive Element in the JET AST
| Method Summary | |
|---|---|
protected void |
accept0(JETASTVisitor visitor)
Visit the AST and its contained elements. |
java.util.Map |
getAttributes()
Return a Map the directive attribute names to values |
java.lang.String |
getName()
Return the directive name |
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.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, toString, wait, wait, wait |
| Method Detail |
|---|
public final java.lang.String getName()
public final java.util.Map getAttributes()
protected void accept0(JETASTVisitor visitor)
JETASTElement
accept0 in class JETASTElementJETASTElement.accept0(JETASTVisitor)public 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.
|
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 | |||||||||