Documentation
¶
Index ¶
- Variables
- func Compile(ts *schema.TypeSystem, node *Schema) error
- type AnyScalar
- type EnumRepresentation
- type EnumRepresentation_Int
- type EnumRepresentation_String
- type InlineDefn
- type ListRepresentation
- type ListRepresentation_List
- type List__FieldName
- type List__TypeName
- type MapRepresentation
- type MapRepresentation_Listpairs
- type MapRepresentation_Map
- type MapRepresentation_Stringpairs
- type Map__EnumValue__Unit
- type Map__FieldName__StructField
- type Map__FieldName__StructRepresentation_Map_FieldDetails
- type Map__String__TypeName
- type Map__TypeName__Int
- type Schema
- type SchemaMap
- type StructField
- type StructRepresentation
- type StructRepresentation_Listpairs
- type StructRepresentation_Map
- type StructRepresentation_Map_FieldDetails
- type StructRepresentation_Stringjoin
- type StructRepresentation_Stringpairs
- type StructRepresentation_Tuple
- type TypeBool
- type TypeBytes
- type TypeCopy
- type TypeDefn
- type TypeEnum
- type TypeFloat
- type TypeInt
- type TypeLink
- type TypeList
- type TypeMap
- type TypeString
- type TypeStruct
- type TypeTerm
- type TypeUnion
- type UnionRepresentation
- type UnionRepresentation_BytePrefix
- type UnionRepresentation_Envelope
- type UnionRepresentation_Inline
- type UnionRepresentation_Keyed
- type UnionRepresentation_Kinded
- type UnionRepresentation_StringPrefix
- type Unit
Constants ¶
This section is empty.
Variables ¶
View Source
var Type struct { Schema schema.TypedPrototype }
Functions ¶
Types ¶
type EnumRepresentation ¶
type EnumRepresentation struct {
EnumRepresentation_String *EnumRepresentation_String
EnumRepresentation_Int *EnumRepresentation_Int
}
type EnumRepresentation_Int ¶
type InlineDefn ¶ added in v0.12.2
type ListRepresentation ¶
type ListRepresentation struct {
ListRepresentation_List *ListRepresentation_List
}
type ListRepresentation_List ¶
type ListRepresentation_List struct {
}
type List__FieldName ¶
type List__FieldName []string
type List__TypeName ¶
type List__TypeName []string
type MapRepresentation ¶
type MapRepresentation struct {
MapRepresentation_Map *MapRepresentation_Map
MapRepresentation_Stringpairs *MapRepresentation_Stringpairs
MapRepresentation_Listpairs *MapRepresentation_Listpairs
}
type MapRepresentation_Listpairs ¶
type MapRepresentation_Listpairs struct {
}
type MapRepresentation_Map ¶
type MapRepresentation_Map struct {
}
type Map__EnumValue__Unit ¶
type Map__FieldName__StructField ¶
type Map__FieldName__StructField struct {
Keys []string
Values map[string]StructField
}
type Map__FieldName__StructRepresentation_Map_FieldDetails ¶
type Map__FieldName__StructRepresentation_Map_FieldDetails struct {
Keys []string
Values map[string]StructRepresentation_Map_FieldDetails
}
type Map__String__TypeName ¶
type Map__TypeName__Int ¶
type StructField ¶
type StructRepresentation ¶
type StructRepresentation struct {
StructRepresentation_Map *StructRepresentation_Map
StructRepresentation_Tuple *StructRepresentation_Tuple
StructRepresentation_Stringpairs *StructRepresentation_Stringpairs
StructRepresentation_Stringjoin *StructRepresentation_Stringjoin
StructRepresentation_Listpairs *StructRepresentation_Listpairs
}
type StructRepresentation_Listpairs ¶
type StructRepresentation_Listpairs struct {
}
type StructRepresentation_Map ¶
type StructRepresentation_Map struct {
Fields *Map__FieldName__StructRepresentation_Map_FieldDetails
}
type StructRepresentation_Stringjoin ¶
type StructRepresentation_Stringjoin struct {
Join string
FieldOrder *List__FieldName
}
type StructRepresentation_Tuple ¶
type StructRepresentation_Tuple struct {
FieldOrder *List__FieldName
}
type TypeEnum ¶
type TypeEnum struct {
Members Map__EnumValue__Unit
Representation EnumRepresentation
}
type TypeList ¶
type TypeList struct {
ValueType TypeTerm
ValueNullable bool
Representation ListRepresentation
}
type TypeMap ¶
type TypeMap struct {
KeyType string
ValueType TypeTerm
ValueNullable bool
Representation MapRepresentation
}
type TypeString ¶
type TypeString struct {
}
type TypeStruct ¶
type TypeStruct struct {
Fields Map__FieldName__StructField
Representation StructRepresentation
}
type TypeTerm ¶ added in v0.12.2
type TypeTerm struct {
TypeName *string
InlineDefn *InlineDefn
}
type TypeUnion ¶
type TypeUnion struct {
Members List__TypeName
Representation UnionRepresentation
}
type UnionRepresentation ¶
type UnionRepresentation struct {
UnionRepresentation_Kinded *UnionRepresentation_Kinded
UnionRepresentation_Keyed *UnionRepresentation_Keyed
UnionRepresentation_Envelope *UnionRepresentation_Envelope
UnionRepresentation_Inline *UnionRepresentation_Inline
UnionRepresentation_StringPrefix *UnionRepresentation_StringPrefix
UnionRepresentation_BytePrefix *UnionRepresentation_BytePrefix
}
type UnionRepresentation_BytePrefix ¶
type UnionRepresentation_BytePrefix struct {
DiscriminantTable Map__TypeName__Int
}
type UnionRepresentation_Envelope ¶
type UnionRepresentation_Envelope struct {
DiscriminantKey string
ContentKey string
DiscriminantTable Map__String__TypeName
}
type UnionRepresentation_Inline ¶
type UnionRepresentation_Inline struct {
DiscriminantKey string
DiscriminantTable Map__String__TypeName
}
type UnionRepresentation_StringPrefix ¶
type UnionRepresentation_StringPrefix struct {
DiscriminantTable Map__String__TypeName
}
Click to show internal directories.
Click to hide internal directories.