Package | Description |
---|---|
org.apache.velocity.runtime | |
org.apache.velocity.runtime.parser | |
org.apache.velocity.runtime.parser.node |
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Constructor<? extends Parser> |
RuntimeInstance.parserConstructor
Configured parser class
|
Modifier and Type | Method and Description |
---|---|
Parser |
RuntimeInstance.createNewParser()
Returns a JavaCC generated Parser.
|
Parser |
RuntimeServices.createNewParser()
Create a new parser instance.
|
Parser |
ParserPoolImpl.get()
Call the wrapped pool.
|
Parser |
ParserPool.get()
Retrieve an instance of a parser pool.
|
Modifier and Type | Method and Description |
---|---|
void |
ParserPoolImpl.put(Parser parser)
Call the wrapped pool.
|
void |
ParserPool.put(Parser parser)
Return the parser to the pool so that it may be reused.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardParser
This class is responsible for parsing a Velocity
xtemplate.
|
Modifier and Type | Field and Description |
---|---|
protected Parser |
SimpleNode.parser |
Modifier and Type | Method and Description |
---|---|
Parser |
SimpleNode.getParser() |
Parser |
Node.getParser() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuilder |
NodeUtils.getSpecialText(Parser parser,
Token t)
Collect all the <SPECIAL_TOKEN>s that
are carried along with a token.
|
static java.lang.String |
NodeUtils.tokenLiteral(Parser parser,
Token t)
complete node literal
|