|
Scala Library
|
|
scala/util/parsing/syntax/Tokens.scala]
trait
Tokens
extends AnyRef| Method Summary | |
def
|
errorToken
(msg : java.lang.String) : Token
This token is produced by a scanner {@see Scanner} when scanning failed.
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Class Summary | |
case class
|
ErrorToken
(val msg : java.lang.String) extends Token with Product
A class of error tokens. Error tokens are used to communicate
errors detected during lexical analysis
|
abstract class
|
Token
extends AnyRef
Objects of this type are produced by a lexical parser or ``scanner'', and consumed by a parser
{@see scala.util.parsing.combinator.syntactical.TokenParsers}.
|
| Object Summary | |
case object
|
EOF
extends Token with Product
A class for end-of-file tokens
|
| Method Details |
def
errorToken(msg : java.lang.String) : Token
|
Scala Library
|
|