public abstract class AbstractStringNodeProcessor extends Object implements TerminalNodeProcessor<org.antlr.v4.runtime.tree.TerminalNode>
Constructor and Description |
---|
AbstractStringNodeProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getText(org.antlr.v4.runtime.tree.TerminalNode terminalNode)
提取字符串内容
|
Object |
process(org.antlr.v4.runtime.tree.TerminalNode terminalNode,
TemplateContext context,
OutputStream outputStream,
TemplateFromContext templateFromContext) |
boolean |
processChildren() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public boolean processChildren()
public Object process(org.antlr.v4.runtime.tree.TerminalNode terminalNode, TemplateContext context, OutputStream outputStream, TemplateFromContext templateFromContext) throws Exception
process
in interface TerminalNodeProcessor<org.antlr.v4.runtime.tree.TerminalNode>
Exception
protected abstract String getText(org.antlr.v4.runtime.tree.TerminalNode terminalNode)
terminalNode
- Copyright © 2006–2018 TinyGroup. All rights reserved.