abstract class RubyLexerBase extends Lexer with RubyLexerRegexHandling with RubyLexerStringInterpolationHandling
Aggregates auxiliary features to RubyLexer in a single place.
- Alphabetic
- By Inheritance
- RubyLexerBase
- RubyLexerStringInterpolationHandling
- RubyLexerRegexHandling
- Lexer
- TokenSource
- Recognizer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RubyLexerBase(input: CharStream)
Abstract Value Members
Concrete 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
- def action(arg0: RuleContext, arg1: Int, arg2: Int): Unit
- Definition Classes
- Recognizer
- def addErrorListener(arg0: ANTLRErrorListener): Unit
- Definition Classes
- Recognizer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def emit(): Token
- Definition Classes
- Lexer
- def emit(arg0: Token): Unit
- Definition Classes
- Lexer
- def emitEOF(): Token
- Definition Classes
- Lexer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def getAllTokens(): List[_ <: Token]
- Definition Classes
- Lexer
- def getChannel(): Int
- Definition Classes
- Lexer
- def getChannelNames(): Array[String]
- Definition Classes
- Lexer
- def getCharErrorDisplay(arg0: Int): String
- Definition Classes
- Lexer
- def getCharIndex(): Int
- Definition Classes
- Lexer
- def getCharPositionInLine(): Int
- Definition Classes
- Lexer → TokenSource
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getErrorDisplay(arg0: Int): String
- Definition Classes
- Lexer
- def getErrorDisplay(arg0: String): String
- Definition Classes
- Lexer
- def getErrorHeader(arg0: RecognitionException): String
- Definition Classes
- Recognizer
- def getErrorListenerDispatch(): ANTLRErrorListener
- Definition Classes
- Recognizer
- def getErrorListeners(): List[_ <: ANTLRErrorListener]
- Definition Classes
- Recognizer
- def getInputStream(): CharStream
- Definition Classes
- Lexer → TokenSource → Recognizer
- def getInterpreter(): LexerATNSimulator
- Definition Classes
- Recognizer
- def getLine(): Int
- Definition Classes
- Lexer → TokenSource
- def getModeNames(): Array[String]
- Definition Classes
- Lexer
- def getParseInfo(): ParseInfo
- Definition Classes
- Recognizer
- def getRuleIndexMap(): Map[String, Integer]
- Definition Classes
- Recognizer
- def getSerializedATN(): String
- Definition Classes
- Recognizer
- def getSourceName(): String
- Definition Classes
- Lexer → TokenSource
- final def getState(): Int
- Definition Classes
- Recognizer
- def getText(): String
- Definition Classes
- Lexer
- def getToken(): Token
- Definition Classes
- Lexer
- def getTokenFactory(): TokenFactory[_ <: Token]
- Definition Classes
- Lexer → TokenSource → Recognizer
- def getTokenType(arg0: String): Int
- Definition Classes
- Recognizer
- def getTokenTypeMap(): Map[String, Integer]
- Definition Classes
- Recognizer
- def getType(): Int
- Definition Classes
- Lexer
- def getVocabulary(): Vocabulary
- Definition Classes
- Recognizer
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isInRegularExpressionInterpolationMode: Boolean
To be invoked when in
DEFAULT_MODE, to check if we are in the context of a regular expression interpolation.To be invoked when in
DEFAULT_MODE, to check if we are in the context of a regular expression interpolation.- Attributes
- protected
- Definition Classes
- RubyLexerRegexHandling
- def isInStringInterpolationMode: Boolean
To be invoked when in
DEFAULT_MODE, to check if we are in the context of a string interpolation.To be invoked when in
DEFAULT_MODE, to check if we are in the context of a string interpolation.- Attributes
- protected
- Definition Classes
- RubyLexerStringInterpolationHandling
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isStartOfRegex: Boolean
To be invoked when encountering
/, deciding if it should emit aREGULAR_EXPRESSION_STARTtoken.To be invoked when encountering
/, deciding if it should emit aREGULAR_EXPRESSION_STARTtoken.- Attributes
- protected
- Definition Classes
- RubyLexerRegexHandling
- def mode(arg0: Int): Unit
- Definition Classes
- Lexer
- def more(): Unit
- Definition Classes
- Lexer
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextToken(): Token
- Definition Classes
- RubyLexerBase → Lexer → TokenSource
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def notifyListeners(arg0: LexerNoViableAltException): Unit
- Definition Classes
- Lexer
- def popMode(): Int
- Definition Classes
- Lexer
- def precpred(arg0: RuleContext, arg1: Int): Boolean
- Definition Classes
- Recognizer
- var previousNonWsToken: Option[Token]
The previously (non-WS) emitted token (in DEFAULT_CHANNEL.)
The previously (non-WS) emitted token (in DEFAULT_CHANNEL.)
- Attributes
- protected
- def pushMode(arg0: Int): Unit
- Definition Classes
- Lexer
- def recover(arg0: RecognitionException): Unit
- Definition Classes
- Lexer
- def recover(arg0: LexerNoViableAltException): Unit
- Definition Classes
- Lexer
- def removeErrorListener(arg0: ANTLRErrorListener): Unit
- Definition Classes
- Recognizer
- def removeErrorListeners(): Unit
- Definition Classes
- Recognizer
- def reset(): Unit
- Definition Classes
- Lexer
- def sempred(arg0: RuleContext, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Recognizer
- def setChannel(arg0: Int): Unit
- Definition Classes
- Lexer
- def setCharPositionInLine(arg0: Int): Unit
- Definition Classes
- Lexer
- def setInputStream(arg0: IntStream): Unit
- Definition Classes
- Lexer → Recognizer
- def setInterpreter(arg0: LexerATNSimulator): Unit
- Definition Classes
- Recognizer
- def setLine(arg0: Int): Unit
- Definition Classes
- Lexer
- final def setState(arg0: Int): Unit
- Definition Classes
- Recognizer
- def setText(arg0: String): Unit
- Definition Classes
- Lexer
- def setToken(arg0: Token): Unit
- Definition Classes
- Lexer
- def setTokenFactory(arg0: TokenFactory[_ <: AnyRef]): Unit
- Definition Classes
- Lexer → TokenSource → Recognizer
- def setType(arg0: Int): Unit
- Definition Classes
- Lexer
- def skip(): Unit
- Definition Classes
- Lexer
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def getTokenErrorDisplay(arg0: Token): String
- Definition Classes
- Recognizer
- Annotations
- @Deprecated
- Deprecated
- def getTokenNames(): Array[String]
- Definition Classes
- Lexer → Recognizer
- Annotations
- @Deprecated
- Deprecated