package compiler
- Alphabetic
- Public
- Protected
Type Members
- class MessagePrinter extends AnyRef
- class ProcessRequest extends AnyRef
- case class Rule(funcName: String, needsName: Boolean, args: Seq[String], inputTransform: Expression, outputTranform: Expression, imports: Seq[String], preamble: Seq[String]) extends 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.
- trait Show[T] extends AnyRef
Value Members
- object BooleanRulesGen
- case object BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object BytesRuleGen
- object CodeGenerator extends CodeGenApp
- object ComparativeRulesGen
- object EnumRulesGen
- object MapRulesGen
- object MembershipRulesGen
- object MessagePrinter
- object RepeatedRulesGen
- object RequiredRulesGen
- object Rule extends Serializable
- object RulesGen
- object Show
- object StringRulesGen
StringRulesGenerator helps generate the validation code for protocol buffer string typed field
- object TimestampRulesGen
- object ValidatePreprocessor extends CodeGenApp