Versions in this module Expand all Collapse all v0 v0.4.0 Mar 16, 2021 Changes in this version type Type + Percent bool v0.3.0 Dec 23, 2020 Changes in this version type Schema + Layer int v0.2.0 Nov 30, 2020 Changes in this version + const AnnotationClass + const AnnotationDescription + const AnnotationParamDescription + type Annotation struct + Name string + Value string + func (a Annotation) String() string + type Category byte + const CategoryFunction + const CategoryType + func (c *Category) UnmarshalText(text []byte) error + func (c Category) MarshalText() ([]byte, error) + func (c Category) String() string + type Class struct + Description string + Name string + type Definition struct + Base bool + GenericParams []string + ID uint32 + Name string + Namespace []string + Params []Parameter + Type Type + func (d *Definition) Parse(line string) error + func (d Definition) String() string + type Flag struct + Index int + Name string + func (f *Flag) Parse(s string) error + func (f Flag) String() string + type Parameter struct + Flag *Flag + Flags bool + Name string + Type Type + func (p *Parameter) Parse(s string) error + func (p Parameter) Conditional() bool + func (p Parameter) String() string + type Schema struct + Classes []Class + Definitions []SchemaDefinition + func Parse(reader io.Reader) (*Schema, error) + func (s Schema) WriteTo(w io.Writer) (int64, error) + type SchemaDefinition struct + Annotations []Annotation + Category Category + Definition Definition + type Type struct + Bare bool + GenericArg *Type + GenericRef bool + Name string + Namespace []string + func (p *Type) Parse(s string) error + func (p Type) String() string