public class ASTElseIfStatement extends SimpleNode
| Constructor and Description |
|---|
ASTElseIfStatement(int id) |
ASTElseIfStatement(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(InternalContextAdapter context)
An ASTElseStatement is true if the expression
it contains evaluates to true.
|
java.lang.Object |
jjtAccept(ParserVisitor visitor,
java.lang.Object data)
Accept the visitor.
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer)
renders the block
|
childrenAccept, dump, execute, getColumn, getFirstToken, getInfo, getLastToken, getLine, getType, init, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, setFirstToken, setInfo, setInvalid, toString, valuepublic ASTElseIfStatement(int id)
public ASTElseIfStatement(Parser p, int id)
public java.lang.Object jjtAccept(ParserVisitor visitor, java.lang.Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
evaluate in interface Nodeevaluate in class SimpleNodeMethodInvocationExceptionpublic boolean render(InternalContextAdapter context, java.io.Writer writer) throws java.io.IOException, MethodInvocationException, ResourceNotFoundException, ParseErrorException
render in interface Noderender in class SimpleNodejava.io.IOExceptionMethodInvocationExceptionResourceNotFoundExceptionParseErrorExceptionCopyright ? 2002 Apache Software Foundation. All Rights Reserved.