scala.util.parsing.syntax.Tokens

ErrorToken

class ErrorToken(msg: String) extends Token with Product

A class of error tokens. Error tokens are used to communicate errors detected during lexical analysis

Inherits

  1. Product
  2. Equals
  3. Token
  4. AnyRef
  5. Any

Value Members

  1. def canEqual(arg0: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass

  2. def chars: String

  3. def equals(arg0: Any): Boolean

    The equality method defined in AnyRef

  4. def hashCode(): Int

    Returns a hash code value for the object

  5. val msg: String

  6. def productArity: Int

    return k for a product A(x_1,

  7. def productElement(arg0: Int): Any

    for a product A(x_1,

  8. def productElements: Iterator[Any]

  9. def productIterator: Iterator[Any]

    An iterator that returns all fields of this product

  10. def productPrefix: String

    By default the empty string

  11. def toString(): String

    Returns a string representation of the object

Instance constructors

  1. new ErrorToken(msg: String)

  2. new ErrorToken()