Tokens
scala.util.parsing.combinator.token.Tokens
trait Tokens
This component provides the notion of Token
, the unit of information that is passed from lexical parsers in the Lexical
component to the parsers in the TokenParsers
component.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Type members
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object EOFclass ErrorTokenclass Identifierclass Keywordclass NumericLitclass StringLitShow all
Value members
Concrete methods
This token is produced by a scanner Scanner
when scanning failed.
This token is produced by a scanner Scanner
when scanning failed.
Attributes
In this article