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, value
public ASTBinaryOperator(int id)
public ASTBinaryOperator(Parser p, int id)
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init
in interface Node
init
in class SimpleNode
TemplateInitException
Node.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)
public abstract String getLiteralOperator()
public String literal()
literal
in interface Node
literal
in class SimpleNode
Node.literal()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.