public abstract class AbstractTemplateExceptionInfo extends Object implements TemplateExceptionInfo
Constructor and Description |
---|
AbstractTemplateExceptionInfo(org.antlr.v4.runtime.ParserRuleContext parserRuleContext,
String reason,
String fileInfo) |
Modifier and Type | Method and Description |
---|---|
Point |
getEnd()
报错结束位置
|
String |
getFileInfo()
报错文件信息
|
org.antlr.v4.runtime.ParserRuleContext |
getParserRuleContext() |
String |
getReason()
报错原因
|
Point |
getStart()
报错开始位置
|
String |
getText()
报错文本
|
void |
updateParserRuleContext(org.antlr.v4.runtime.ParserRuleContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMacroInfo, isMacroException
public String getFileInfo()
TemplateExceptionInfo
getFileInfo
in interface TemplateExceptionInfo
public String getReason()
TemplateExceptionInfo
getReason
in interface TemplateExceptionInfo
public Point getStart()
TemplateExceptionInfo
getStart
in interface TemplateExceptionInfo
public Point getEnd()
TemplateExceptionInfo
getEnd
in interface TemplateExceptionInfo
public String getText()
TemplateExceptionInfo
getText
in interface TemplateExceptionInfo
public org.antlr.v4.runtime.ParserRuleContext getParserRuleContext()
public void updateParserRuleContext(org.antlr.v4.runtime.ParserRuleContext context)
Copyright © 2006–2018 TinyGroup. All rights reserved.