p

de.uni_luebeck.isp

compacom

package compacom

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait GeneratesSimpleTokens extends Tokenizer
  2. trait ICompletion extends AnyRef
  3. case class Location (from: Position, to: Position) extends Product with Serializable
    Annotations
    @JSExportAll()
  4. trait LookaheadSource extends Iterator[Char]
  5. trait Parsers extends AnyRef
  6. case class Position (line: Int, column: Int) extends Product with Serializable
    Annotations
    @JSExportAll()
  7. trait SimpleTokenParsers extends Parsers
  8. trait SimpleTokenizer extends Tokenizer with GeneratesSimpleTokens

    Implement a tokenizer by simply providing a list of keywords, symbols and comment delimiters.

    Implement a tokenizer by simply providing a list of keywords, symbols and comment delimiters.

    Anything that matches an item in one of the lists is tokenized accordingly. Any sequence of alphanumeric characters starting with a letter or underscore is tokenized as an identifier if it is not a keyword. A sequence of digits is tokenized as an integer. A sequence of characters starting with a quote and ending with a quote is tokenized as a string. Anything else is an invalid token.

    This is the easiest, but least flexible way to define a tokenizer. However it should be sufficient for many cases.

  9. trait SimpleTokens extends Tokens

    A set of default tokens emitted by SimpleTokenizer

  10. trait Tokenizer extends AnyRef
  11. trait Tokens extends AnyRef
  12. case class WithLocation [+T](loc: Location, value: T) extends Product with Serializable

Value Members

  1. object LookaheadSource
  2. object Unicode

    Reimplements some Character and String methods as the originals are not supported (or, in case of toInt, don't support Unicode) in Scala.JS.

Ungrouped