Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnderlyingMaxIntLiteral ¶
Types ¶
type Cmd ¶
type EnumType ¶
type EnumType struct {
Name string
Bitfield bool
CustomFormat bool
Definitions []EnumValueDef
Position token.Position
UnderlyingMaxIntLiteral string
Values []EnumValue
// contains filtered or unexported fields
}
EnumType records the details about a defined enum type and its associated values
type EnumValue ¶
type EnumValue struct {
GoName string
Value interface{}
Name string
AltNames []string
LowerCaseNames []string
}
EnumValue records all the details of an enumerated value necessary to produce the generated code output, including all alternate names for the definition of one value.
type EnumValueDef ¶
type EnumValueDef struct {
Name string
Value interface{}
// contains filtered or unexported fields
}
EnumValueDef records the definition of an enumerated value
Click to show internal directories.
Click to hide internal directories.