Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeByte = "byte" TypeString = "string" TypeTime = "time" TypeDuration = "duration" TypeBool = "bool" TypeInt = "int" TypeInt8 = "int8" TypeInt16 = "int16" TypeInt32 = "int32" TypeInt64 = "int64" TypeUInt = "uint" TypeUInt8 = "uint8" TypeUInt16 = "uint16" TypeUInt32 = "uint32" TypeUInt64 = "uint64" TypeFloat32 = "float32" TypeFloat64 = "float64" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnyType ¶
type AnyType struct { Name string // contains filtered or unexported fields }
func NewAnyType ¶ added in v1.6.15
type ArrType ¶
type ArrType struct { Elem DataType // contains filtered or unexported fields }
func NewArrType ¶ added in v1.6.15
type BaseType ¶
type BaseType struct { DataType string // contains filtered or unexported fields }
func NewBaseType ¶ added in v1.6.15
type Call ¶
type EnumType ¶
type EnumType struct { Name string // contains filtered or unexported fields }
func NewEnumType ¶ added in v1.6.15
type MapType ¶
func NewMapType ¶ added in v1.6.15
type Stream ¶
type StructType ¶
type StructType struct { Name string // contains filtered or unexported fields }
func NewStructType ¶ added in v1.6.15
func NewStructType(name string, pos lexer.Pos, pointer bool) *StructType
func (*StructType) Decl ¶
func (s *StructType) Decl() string
func (*StructType) ID ¶ added in v1.6.0
func (s *StructType) ID() string
Click to show internal directories.
Click to hide internal directories.