public abstract class ASTBinaryOperator extends SimpleNode
| Constructor and Description |
|---|
ASTBinaryOperator(int id) |
ASTBinaryOperator(Parser p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getLiteralOperator()
get the string representing the mathematical operator
|
Object |
init(InternalContextAdapter context,
Object data) |
String |
literal() |
childrenAccept, cleanupParserAndTokens, dump, dump, dump, evaluate, execute, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, render, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, valuepublic ASTBinaryOperator(int id)
public ASTBinaryOperator(Parser p, int id)
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init in interface Nodeinit in class SimpleNodeTemplateInitExceptionNode.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public abstract String getLiteralOperator()
public String literal()
literal in interface Nodeliteral in class SimpleNodeNode.literal()Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.