Object

de.uni_luebeck.isp.compacom.examples

BasicExpTokenizer

Related Doc: package examples

Permalink

object BasicExpTokenizer extends SimpleTokenizer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicExpTokenizer
  2. SimpleTokenizer
  3. GeneratesSimpleTokens
  4. Tokenizer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class State extends AnyRef

    Permalink
    Definition Classes
    SimpleTokenizer
  2. class TokenIterator extends Iterator[Token]

    Permalink
    Definition Classes
    Tokenizer

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Util

    Permalink
    Definition Classes
    Tokenizer
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val comments: List[(String, String)]

    Permalink

    A list of start-end pairs.

    A list of start-end pairs. Anything between the start string and the end string will be ignored. Comments are not recursive. Comments are automatically closed at the end of file.

    As comments are checked before anything else, the starting string of a comment must not be the prefix of any other valid token (or else that token will never be matched).

    Example:

    val comments = List("//" -> "\n", "/*" -> "*/")
    Definition Classes
    BasicExpTokenizerSimpleTokenizer
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isIdentifierCont(c: Char): Boolean

    Permalink

    Return true if the given character can occur in the middle or end of an identifier.

    Return true if the given character can occur in the middle or end of an identifier.

    By default this returns true for Unicode letters, Unicode digits and the ASCII underscore. Override this if your language has different rules for what an identifier may contain.

    Attributes
    protected
    Definition Classes
    SimpleTokenizer
  14. def isIdentifierStart(c: Char): Boolean

    Permalink

    Returns true if the given character can occur at the beginning of an identifier.

    Returns true if the given character can occur at the beginning of an identifier.

    By default this returns true for Unicode letters and the ASCII underscore. Override this if your language has different rules for how an identifier can begin.

    Attributes
    protected
    Definition Classes
    SimpleTokenizer
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val keywords: List[Product with Serializable with BasicExpTokens.Token]

    Permalink

    A list of tokens that fit the rules for being identifiers, but should be tokenized as - * something else instead

    A list of tokens that fit the rules for being identifiers, but should be tokenized as - * something else instead

    Definition Classes
    BasicExpTokenizerSimpleTokenizer
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def nextToken(source: LookaheadSource, state: State): (BasicExpTokens.Token, State)

    Permalink
    Definition Classes
    SimpleTokenizerTokenizer
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val startState: State

    Permalink
    Definition Classes
    SimpleTokenizerTokenizer
  22. val symbols: List[Product with Serializable with BasicExpTokens.Token]

    Permalink

    A list of tokens that aren't integers, strings, comments, spaces or identifiers and don't overlap with either.

    A list of tokens that aren't integers, strings, comments, spaces or identifiers and don't overlap with either.

    Definition Classes
    BasicExpTokenizerSimpleTokenizer
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def tokenize(s: Source): TokenIterator

    Permalink
    Definition Classes
    Tokenizer
  26. def tokenize(s: LookaheadSource): TokenIterator

    Permalink
    Definition Classes
    Tokenizer
  27. val tokens: BasicExpTokens.type

    Permalink
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SimpleTokenizer

Inherited from GeneratesSimpleTokens

Inherited from Tokenizer

Inherited from AnyRef

Inherited from Any

Ungrouped