public final class CSSParserProblem extends CompilerProblem
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static int |
errorCode |
String |
reason |
Class<? extends org.antlr.runtime.BaseRecognizer> |
type |
UNKNOWN
Modifier and Type | Method and Description |
---|---|
static CSSParserProblem |
create(org.antlr.runtime.BaseRecognizer baseRecognizer,
String[] tokenNames,
org.antlr.runtime.RecognitionException e)
Create a
CSSParserProblem from ANTLR's
BaseRecognizer.displayRecognitionError(java.lang.String[], org.antlr.runtime.RecognitionException) . |
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getID, getLine, getSourcePath, getStart, toString
public static String DESCRIPTION
public static final int errorCode
public final String reason
public final Class<? extends org.antlr.runtime.BaseRecognizer> type
public static CSSParserProblem create(org.antlr.runtime.BaseRecognizer baseRecognizer, String[] tokenNames, org.antlr.runtime.RecognitionException e)
CSSParserProblem
from ANTLR's
BaseRecognizer.displayRecognitionError(java.lang.String[], org.antlr.runtime.RecognitionException)
.baseRecognizer
- Lexer, parser or tree walker.tokenNames
- token namese
- exceptionCSSParserProblem
Copyright © 2016 The Apache Software Foundation. All rights reserved.