package lexer
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- sealed abstract class Comment extends HiddenToken
- sealed abstract class HiddenToken extends AnyRef
- case class HiddenTokens (tokens: List[HiddenToken]) extends Iterable[HiddenToken] with Product with Serializable
- trait IUnicodeEscapeReader extends Iterator[Char]
- sealed trait LexerMode extends AnyRef
- trait LexerResult extends AnyRef
-
trait
ModeStack
extends AnyRef
Keeping track of nesting level of XML within Scala.
- case class MultiLineComment (token: Token) extends Comment with Product with Serializable
-
class
NewlineInferencer
extends Iterator[Token]
Logic for promoting intertoken whitespace/comments to a NEWLINE or NEWLINES token as required.
- class NoUnicodeEscapeReader extends IUnicodeEscapeReader
- case class ScalaDocComment (token: Token) extends Comment with Product with Serializable
- class ScalaLexer extends ScalaOnlyLexer with XmlLexer with ModeStack with TokenTests with Iterator[Token]
- class ScalaLexerException extends ScalaParserException
- class ScalaLexerReader extends Reader[Token]
- class ScalaMode extends LexerMode
- case class SingleLineComment (token: Token) extends Comment with Product with Serializable
- class StringInterpolationMode extends LexerMode
- sealed trait TagState extends AnyRef
-
case class
Token
(tokenType: TokenType, text: String, offset: Int, rawText: String) extends Product with Serializable
A token of Scala source.
A token of Scala source.
- text
-- the text associated with the token after unicode escaping
- rawText
-- the text associated with the token before unicode escaping
- case class TokenType (name: String, isXml: Boolean = false) extends Product with Serializable
- class UnicodeEscapeReader extends IUnicodeEscapeReader
- case class Whitespace (token: Token) extends HiddenToken with Product with Serializable
- class WhitespaceAndCommentsGrouper extends Iterator[Token]
-
trait
XmlLexer
extends AnyRef
Lexer implementation for XML literals and patterns
- class XmlMode extends LexerMode
Value Members
- object CharConstants
- object Chars
- object Comment
- object InEndTag extends TagState with Product with Serializable
- object InStartTag extends TagState with Product with Serializable
- object Keywords
- object NewlineInferencer
- object NoHiddenTokens extends HiddenTokens
- object Normal extends TagState with Product with Serializable
- object RedundantSemicolonDetector
- object ScalaLexer
- object Tokens
- object UnicodeEscapeDecoder