Packages

package rules

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package syntax

Type Members

  1. sealed trait Action[F[_]] extends AnyRef
  2. sealed trait Arity extends AnyRef
  3. sealed trait Ctx extends AnyRef

    A rule context is a trie map of strings.

    A rule context is a trie map of strings. It allows for providing scoped values that can be used in the rules.

  4. case class DocumentedFunction[F[_]](f: (List[String]) => F[String], arity: Arity, doc: Option[String]) extends Product with Serializable
  5. class Dsl[F[_]] extends AnyRef
  6. class Engine[F[_]] extends AnyRef

    An engine is used to apply set of processing rules to GTFS files.

    An engine is used to apply set of processing rules to GTFS files. It provides a common environment composed of functions that can be used in the rules.

    An engine can be reused for several set of rules and GTFS files using the same set of environment.

  7. sealed trait Expr[F[_]] extends AnyRef
  8. class Interpreter[F[_]] extends AnyRef

    An interpreter is used in the context of the engine to evaluate the various expressions from the Matcher s and Transformation s.

    An interpreter is used in the context of the engine to evaluate the various expressions from the Matcher s and Transformation s.

    Expressions are pure, and cannot perform any side effects. Applicable functions transform a string value into another one without access to any context.

  9. sealed trait LogLevel extends EnumEntry with Uppercase
  10. sealed trait Matcher extends AnyRef
  11. case class Rule[F[_]](name: String, matcher: Matcher, action: Action[F]) extends Product with Serializable
  12. case class RuleSet[F[_]](file: String, rules: List[Rule[F]], additions: List[NonEmptyList[String]]) extends Product with Serializable
  13. sealed trait Transformation[F[_]] extends AnyRef
  14. sealed trait Value extends AnyRef
  15. sealed trait Variable extends Value

Value Members

  1. object Action
  2. object Arity
  3. object Ctx
  4. object DocumentedFunction extends Serializable
  5. object Engine
  6. object Expr
  7. object Interpreter
  8. object LogLevel extends Enum[LogLevel]
  9. object Matcher
  10. object Transformation
  11. object Value

Ungrouped