StdTokens
scala.util.parsing.combinator.token.StdTokens
This component provides the standard Token
s for a simple, Scala-like language.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class StdLexical
Members list
Type members
Classlikes
case class Identifier(chars: String) extends Token
case class NumericLit(chars: String) extends Token
Inherited classlikes
case class ErrorToken(msg: String) extends Token
A class of error tokens. Error tokens are used to communicate errors detected during lexical analysis
Objects of this type are produced by a lexical parser or scanner
, and consumed by a parser.
Objects of this type are produced by a lexical parser or scanner
, and consumed by a parser.
Attributes
- See also
- Inherited from:
- Tokens
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object EOFclass ErrorTokenclass Identifierclass Keywordclass NumericLitclass StringLitShow all
Value members
Inherited methods
This token is produced by a scanner Scanner
when scanning failed.
In this article