Package

de.uni_luebeck.isp

compacom

Permalink

package compacom

Visibility
  1. Public
  2. All

Type Members

  1. trait GeneratesSimpleTokens extends Tokenizer

    Permalink
  2. trait ICompletion extends AnyRef

    Permalink
  3. case class Location(from: Position, to: Position) extends Product with Serializable

    Permalink
    Annotations
    @JSExportAll()
  4. trait LookaheadSource extends Iterator[Char]

    Permalink
  5. trait Parsers extends AnyRef

    Permalink
  6. case class Position(line: Int, column: Int) extends Product with Serializable

    Permalink
    Annotations
    @JSExportAll()
  7. trait SimpleEnvParsers extends Parsers

    Permalink
  8. trait SimpleTokenParsers extends Parsers

    Permalink
  9. trait SimpleTokenizer extends Tokenizer with GeneratesSimpleTokens

    Permalink

    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.

  10. trait SimpleTokens extends Tokens

    Permalink

    A set of default tokens emitted by SimpleTokenizer

  11. trait Tokenizer extends AnyRef

    Permalink
  12. trait Tokens extends AnyRef

    Permalink
  13. case class WithLocation[+T](loc: Location, value: T) extends Product with Serializable

    Permalink

Value Members

  1. object LookaheadSource

    Permalink
  2. object Unicode

    Permalink

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

  3. package examples

    Permalink

Ungrouped