public class ASTSetDirective extends SimpleNode
| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
blather |
private ASTReference |
left |
private java.lang.String |
leftReference |
private Node |
right |
| Constructor and Description |
|---|
ASTSetDirective(int id) |
ASTSetDirective(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
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
|
childrenAccept, dump, evaluate, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, valueprivate java.lang.String leftReference
private Node right
private ASTReference left
boolean blather
public ASTSetDirective(int id)
public ASTSetDirective(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic java.lang.Object init(InternalContextAdapter context, java.lang.Object data) throws java.lang.Exception
init in interface Nodeinit in class SimpleNodejava.lang.Exceptionpublic boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException
render in interface Noderender in class SimpleNodejava.io.IOExceptionMethodInvocationExceptionprivate ASTReference getLeftHandSide()
private Node getRightHandSide()
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.