public class ASTComment extends SimpleNode
Constructor and Description |
---|
ASTComment(int id) |
ASTComment(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
Object |
init(InternalContextAdapter context,
Object data)
We need to make sure we catch any of the dreaded MORE tokens.
|
Object |
jjtAccept(ParserVisitor visitor,
Object data) |
boolean |
render(InternalContextAdapter context,
Writer writer) |
childrenAccept, cleanupParserAndTokens, dump, dump, dump, evaluate, execute, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, literal, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString, value
public ASTComment(int id)
id
- public ASTComment(Parser p, int id)
p
- id
- public Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
SimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)
public Object init(InternalContextAdapter context, Object data)
init
in interface Node
init
in class SimpleNode
context
- data
- Node.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)
public boolean render(InternalContextAdapter context, Writer writer) throws IOException, MethodInvocationException, ParseErrorException, ResourceNotFoundException
render
in interface Node
render
in interface Renderable
render
in class SimpleNode
IOException
MethodInvocationException
ParseErrorException
ResourceNotFoundException
SimpleNode.render(org.apache.velocity.context.InternalContextAdapter, java.io.Writer)
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.