|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.runtime.parser.node.SimpleNode
org.apache.velocity.runtime.parser.node.ASTSetDirective
Node for the #set directive
Field Summary | |
(package private) boolean |
blather
|
private ASTReference |
left
|
private java.lang.String |
leftReference
|
private Node |
right
|
Fields inherited from class org.apache.velocity.runtime.parser.node.SimpleNode |
children, first, id, info, invalid, last, parent, parser, rsvc, state |
Constructor Summary | |
ASTSetDirective(int id)
|
|
ASTSetDirective(Parser p,
int id)
|
Method Summary | |
private ASTReference |
getLeftHandSide()
returns the ASTReference that is the LHS of the set statememt |
private Node |
getRightHandSide()
returns the RHS Node of the set statement |
java.lang.Object |
init(InternalContextAdapter context,
java.lang.Object data)
simple init. |
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
boolean |
render(InternalContextAdapter context,
java.io.Writer writer)
puts the value of the RHS into the context under the key of the LHS |
Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode |
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String leftReference
private Node right
private ASTReference left
boolean blather
Constructor Detail |
public ASTSetDirective(int id)
public ASTSetDirective(Parser p, int id)
Method Detail |
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init
in interface Node
init
in class SimpleNode
java.lang.Exception
public boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException
render
in interface Node
render
in class SimpleNode
java.io.IOException
MethodInvocationException
private ASTReference getLeftHandSide()
private Node getRightHandSide()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |