Versions in this module Expand all Collapse all v0 v0.1.2 Nov 16, 2018 Changes in this version + var AllCoreTypes = []*Type + var AllExtendedTypes = []*Type + var AllPropertyTypes = []*PropertyType + var AllValueTypes = []*ValueType + var IriValueType = &ValueType + func AnyURIValueTypeName() string + func HasAnyURI(r []RangeReference) bool + func IsActivity(t *Type) bool + func IsAnyURIValueType(v *ValueType) bool + func IsIRIValueType(v *ValueType) bool + func IsIRIValueTypeString(v *ValueType) bool + func IsOnlyOtherPropertyBesidesIRI(nonIriIndex int, r []RangeReference) bool + type DomainReference struct + Any bool + T *Type + type FunctionDef struct + Args []*FunctionVarDef + Body func() string + Comment string + Name string + Return []*FunctionVarDef + func IRIFuncs() []*FunctionDef + func (f *FunctionDef) Generate() string + type FunctionVarDef struct + Name string + Type string + func (f *FunctionVarDef) Generate() string + type InterfaceDef struct + Comment string + F []*FunctionDef + O []string + Typename string + func (i *InterfaceDef) Generate() string + type MemberFunctionDef struct + Args []*FunctionVarDef + Body func() string + Comment string + Name string + P *StructDef + Return []*FunctionVarDef + func (f *MemberFunctionDef) Generate() string + type PackageDef struct + Comment string + Defs []*StructDef + F []*FunctionDef + I []*InterfaceDef + Imports []string + Name string + Raw string + func (p *PackageDef) Generate() string + type PropertyType struct + Domain []DomainReference + Functional bool + Name string + NaturalLanguageMap bool + Notes string + PreferIRIConvenience bool + Range []RangeReference + SubpropertyOf *PropertyType + URI string + type RangeReference struct + Any bool + T *Type + V *ValueType + type StructDef struct + Comment string + Compose []*StructDef + F []*MemberFunctionDef + M []*StructMember + Typename string + func (s *StructDef) Generate() string + type StructMember struct + Comment string + Name string + Type string + func (s *StructMember) Generate() string + type Type struct + DisjointWith []*Type + Extends []*Type + Name string + Notes string + Properties []*PropertyType + URI string + WithoutProperties []*PropertyType + func (t *Type) AllExtendsNames() []string + func (t *Type) GetProperties() []*PropertyType + type ValueType struct + DefinitionType string + DeserializeFn *FunctionDef + Imports []string + Name string + SerializeFn *FunctionDef + URI string + Zero string + ZeroValue string