package rules
- Alphabetic
- Public
- Protected
Type Members
- sealed trait Action[F[_]] extends AnyRef
- sealed trait Arity extends AnyRef
- 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.
- case class DocumentedFunction[F[_]](f: (List[String]) => F[String], arity: Arity, doc: Option[String]) extends Product with Serializable
- class Dsl[F[_]] extends AnyRef
- 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.
- sealed trait Expr[F[_]] extends AnyRef
- 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.
- sealed trait LogLevel extends EnumEntry with Uppercase
- sealed trait Matcher extends AnyRef
- case class Rule[F[_]](name: String, matcher: Matcher, action: Action[F]) extends Product with Serializable
- case class RuleSet[F[_]](file: String, rules: List[Rule[F]], additions: List[NonEmptyList[String]]) extends Product with Serializable
- sealed trait Transformation[F[_]] extends AnyRef
- sealed trait Value extends AnyRef
- sealed trait Variable extends Value