Documentation
¶
Index ¶
- func AccessAsListString() []string
- func AccessIsValid(t Access) bool
- func BaseTypeAsListString() []string
- func BaseTypeIsValid(t BaseType) bool
- func DeclAsListString() []string
- func DeclIsValid(t Decl) bool
- func IndexKindAsListString() []string
- func IndexKindIsValid(t IndexKind) bool
- func LanguageAsListString() []string
- func LanguageIsValid(t Language) bool
- func NodeKindAsListString() []string
- func NodeKindIsValid(t NodeKind) bool
- func RenderAsListString() []string
- func RenderIsValid(t Render) bool
- func StatusAsListString() []string
- func StatusIsValid(t Status) bool
- type Access
- type BaseType
- type Decl
- type IndexKind
- type Language
- type NodeKind
- type Oid
- type Render
- type SmiElement
- type SmiErrorHandler
- type SmiIdentifier
- type SmiImport
- type SmiMacro
- type SmiModule
- type SmiNamedNumber
- type SmiNode
- type SmiOption
- type SmiRange
- type SmiRefinement
- type SmiRevision
- type SmiSubId
- type SmiType
- type SmiValue
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessAsListString ¶
func AccessAsListString() []string
func AccessIsValid ¶
func BaseTypeAsListString ¶
func BaseTypeAsListString() []string
func BaseTypeIsValid ¶
func DeclAsListString ¶
func DeclAsListString() []string
func DeclIsValid ¶
func IndexKindAsListString ¶
func IndexKindAsListString() []string
func IndexKindIsValid ¶
func LanguageAsListString ¶
func LanguageAsListString() []string
func LanguageIsValid ¶
func NodeKindAsListString ¶
func NodeKindAsListString() []string
func NodeKindIsValid ¶
func RenderAsListString ¶
func RenderAsListString() []string
func RenderIsValid ¶
func StatusAsListString ¶
func StatusAsListString() []string
func StatusIsValid ¶
Types ¶
type Access ¶
type Access int
func AccessAsList ¶
func AccessAsList() []Access
func AccessFromString ¶
func (Access) MarshalJSON ¶
func (*Access) UnmarshalJSON ¶
type BaseType ¶
type BaseType int
func BaseTypeAsList ¶
func BaseTypeAsList() []BaseType
func BaseTypeFromString ¶
func (BaseType) MarshalJSON ¶
func (*BaseType) UnmarshalJSON ¶
type Decl ¶
type Decl int
const ( DeclUnknown Decl = iota DeclImplicitType DeclTypeAssignment DeclImplSequenceOf DeclValueAssignment DeclObjectType DeclObjectIdentity DeclModuleIdentity DeclNotificationType DeclTrapType DeclObjectGroup DeclNotificationGroup DeclModuleCompliance DeclAgentCapabilities DeclTextualConvention DeclMacro DeclComplGroup DeclComplObject DeclImplObject DeclModule Decl = iota + 13 DeclExtension DeclTypedef DeclNode DeclScalar DeclTable DeclRow DeclColumn DeclNotification DeclGroup DeclCompliance DeclIdentity DeclClass DeclAttribute DeclEvent )
func DeclAsList ¶
func DeclAsList() []Decl
func DeclFromString ¶
func (Decl) MarshalJSON ¶
func (*Decl) UnmarshalJSON ¶
type IndexKind ¶
type IndexKind int
func IndexKindAsList ¶
func IndexKindAsList() []IndexKind
func IndexKindFromString ¶
func (IndexKind) MarshalJSON ¶
func (*IndexKind) UnmarshalJSON ¶
type Language ¶
type Language int
func LanguageAsList ¶
func LanguageAsList() []Language
func LanguageFromString ¶
func (Language) MarshalJSON ¶
func (*Language) UnmarshalJSON ¶
type NodeKind ¶
type NodeKind int
func NodeKindAsList ¶
func NodeKindAsList() []NodeKind
func NodeKindFromString ¶
func (NodeKind) MarshalJSON ¶
func (*NodeKind) UnmarshalJSON ¶
type Oid ¶ added in v0.2.0
type Oid []SmiSubId
func OidFromString ¶ added in v0.2.0
func OidMustFromString ¶ added in v0.2.3
Helper for defining constants from strings
type Render ¶
type Render int
func RenderAsList ¶
func RenderAsList() []Render
func RenderFromString ¶
func (Render) MarshalJSON ¶
func (*Render) UnmarshalJSON ¶
type SmiElement ¶ added in v0.2.0
type SmiElement struct{}
type SmiErrorHandler ¶ added in v0.2.0
void (SmiErrorHandler) (char *path, int line, int severity, char *msg, char *tag)
type SmiIdentifier ¶ added in v0.2.0
type SmiIdentifier string
func (SmiIdentifier) String ¶ added in v0.2.0
func (x SmiIdentifier) String() string
type SmiImport ¶ added in v0.2.0
type SmiImport struct { Module SmiIdentifier Name SmiIdentifier }
type SmiMacro ¶ added in v0.2.0
type SmiMacro struct { Name SmiIdentifier Decl Decl Status Status Description string Reference string }
type SmiNamedNumber ¶ added in v0.2.0
type SmiNamedNumber struct { Name SmiIdentifier Value SmiValue }
type SmiRefinement ¶ added in v0.2.0
type SmiRevision ¶ added in v0.2.0
type Status ¶
type Status int
func StatusAsList ¶
func StatusAsList() []Status
func StatusFromString ¶
func (Status) MarshalJSON ¶
func (*Status) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.