A "raw" class definition.
Pegasus provides ClassTemplateSpec
s to "flatten" the data schemas provided to a
data binding generator and make it easier to write the generator.
Pegasus provides ClassTemplateSpec
s to "flatten" the data schemas provided to a
data binding generator and make it easier to write the generator.
These Definitions classes wrap ClassTemplateSpec
s so that we can use idiomatic scala types
in our templates. They also add language specific escaping and convenience functions
specifically for generating data bindings for Scala.
This trait is for all Scala classes that wrap ClassTemplateSpec and it's sub-classes, it represents the common properties shared by all pegasus data binding generator utility types.
Convenience trait for primitive types since they sometimes need to be boxed/unboxed.
The field of a record, may be either a field directly defined in the record or an "include" field.
Union names are inferred from the containing type or typeref.
Union names are inferred from the containing type or typeref.
Note that all unions are defined anonymously, so pegasus makes a best effort to give them a reasonable name.
E.g. A union defined as the type of a field of a record will be named after that field.
A "raw" class definition.
Purely a reference to a type. The type should already exist and should not be generated.
May refer to a primitive type.
Main Uses: A custom class A coercer for a custom class ???