scalapb.validate.compiler

Members list

Concise view

Type members

Classlikes

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object CodeGenerator extends CodeGenApp

Attributes

Graph
Supertypes
trait CodeGenApp
trait ProtocCodeGenerator
class Object
trait Matchable
class Any
Self type
case class CombineFieldRules(rules: Seq[Rule], op: String) extends Rule

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class FunctionCall(funcName: String, needsName: Boolean, args: Seq[String], inputTransform: Expression, outputTranform: Expression, imports: Seq[String], preamble: Seq[String]) extends Rule

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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any
Self type
case class IgnoreEmptyRule(isEmpty: Rule, other: Rule) extends Rule

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class MessagePrinter(implicits: DescriptorImplicits, message: Descriptor)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
case class OptionalFieldRule(rules: Seq[Rule]) extends Rule

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any
class ProcessRequest(req: CodeGenRequest)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
case class RepeatedFieldRule(rules: Seq[Rule], inputTransform: String => String) extends Rule

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Rule
class Object
trait Matchable
class Any

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Rule

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Rule

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Rule.type
object RulesGen

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait Show[T]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Show

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Show.type

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

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
object ValidatePreprocessor extends CodeGenApp

Attributes

Graph
Supertypes
trait CodeGenApp
trait ProtocCodeGenerator
class Object
trait Matchable
class Any
Self type