package compiler

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class CombineFieldRules(rules: Seq[Rule], op: String = "&&") extends Rule with Product with Serializable
  2. case class FunctionCall(funcName: String, needsName: Boolean, args: Seq[String], inputTransform: Expression, outputTranform: Expression, imports: Seq[String], preamble: Seq[String]) extends Rule with Product with Serializable

    Represents a generated function call that returns a Result.

    Represents a generated function call that returns a Result.

    funcName: fully qualified functin name. The function takes potentially the name (if needsName is true), then the value to be tested, then the list of args are passed: funcName([name], value, *args) needsName: whether the first argument is the name of the field being tested. args: arguments to pass after the value. inputTransform: transformation to apply to the value outputTransform: transformation to apply to the result of funcName imports: list of imports to add to the top of the file (no need to dedupe here) preamble: code to be added for static definitions. Can be used for constants that needs to be computed only once.

  3. case class IgnoreEmptyRule(isEmpty: Rule, other: Rule) extends Rule with Product with Serializable
  4. class MessagePrinter extends AnyRef
  5. case class OptionalFieldRule(rules: Seq[Rule]) extends Rule with Product with Serializable
  6. class ProcessRequest extends AnyRef
  7. case class RepeatedFieldRule(rules: Seq[Rule], inputTransform: (String) => String) extends Rule with Product with Serializable
  8. trait Rule extends AnyRef
  9. trait Show[T] extends AnyRef

Value Members

  1. object BooleanRulesGen
  2. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  3. object BytesRuleGen
  4. object CodeGenerator extends CodeGenApp
  5. object ComparativeRulesGen
  6. object EnumRulesGen
  7. object IgnoreEmptyRulesGen
  8. object MapRulesGen
  9. object MembershipRulesGen
  10. object MessagePrinter
  11. object RepeatedRulesGen
  12. object RequiredRulesGen
  13. object Rule
  14. object RulesGen
  15. object Show
  16. object StringRulesGen

    StringRulesGenerator helps generate the validation code for protocol buffer string typed field

  17. object TimestampRulesGen
  18. object ValidatePreprocessor extends CodeGenApp

Ungrouped