class SparkParserErrorStrategy extends DefaultErrorStrategy
A SparkParserErrorStrategy extends the DefaultErrorStrategy, that does special handling on errors.
The intention of this class is to provide more information of these errors encountered in ANTLR parser to the downstream consumers, to be able to apply the SparkThrowable error message framework to these exceptions.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SparkParserErrorStrategy
- DefaultErrorStrategy
- ANTLRErrorStrategy
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SparkParserErrorStrategy()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beginErrorCondition(arg0: Parser): Unit
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
consumeUntil(arg0: Parser, arg1: IntervalSet): Unit
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
endErrorCondition(arg0: Parser): Unit
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
escapeWSAndQuote(arg0: String): String
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getErrorRecoverySet(arg0: Parser): IntervalSet
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
getExpectedTokens(arg0: Parser): IntervalSet
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
getMissingSymbol(arg0: Parser): Token
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
getSymbolText(arg0: Token): String
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
getSymbolType(arg0: Token): Int
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
getTokenErrorDisplay(t: Token): String
Get the user-facing display of the error token.
Get the user-facing display of the error token.
- Definition Classes
- SparkParserErrorStrategy → DefaultErrorStrategy
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inErrorRecoveryMode(arg0: Parser): Boolean
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
recover(arg0: Parser, arg1: RecognitionException): Unit
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
-
def
recoverInline(arg0: Parser): Token
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
- Annotations
- @throws( ... )
-
def
reportError(arg0: Parser, arg1: RecognitionException): Unit
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
-
def
reportFailedPredicate(arg0: Parser, arg1: FailedPredicateException): Unit
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
reportInputMismatch(recognizer: Parser, e: InputMismatchException): Unit
- Definition Classes
- SparkParserErrorStrategy → DefaultErrorStrategy
-
def
reportMatch(arg0: Parser): Unit
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
-
def
reportMissingToken(recognizer: Parser): Unit
- Definition Classes
- SparkParserErrorStrategy → DefaultErrorStrategy
-
def
reportNoViableAlternative(recognizer: Parser, e: NoViableAltException): Unit
- Definition Classes
- SparkParserErrorStrategy → DefaultErrorStrategy
-
def
reportUnwantedToken(recognizer: Parser): Unit
- Definition Classes
- SparkParserErrorStrategy → DefaultErrorStrategy
-
def
reset(arg0: Parser): Unit
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
-
def
singleTokenDeletion(arg0: Parser): Token
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
singleTokenInsertion(arg0: Parser): Boolean
- Attributes
- protected[runtime]
- Definition Classes
- DefaultErrorStrategy
-
def
sync(arg0: Parser): Unit
- Definition Classes
- DefaultErrorStrategy → ANTLRErrorStrategy
- Annotations
- @throws( ... )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()