Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FatToken ¶
type FatToken struct { // The type of token. Indicates which of the value fields has meaning, // or has a special value to indicate beginnings and endings of maps and arrays. Type TokenType Length int // If this is a TMapOpen or TArrOpen, a length may be specified. Use -1 for unknown. Str string // Value union. Only one of these has meaning, depending on the value of 'Type'. Bytes []byte // Value union. Only one of these has meaning, depending on the value of 'Type'. Bool bool // Value union. Only one of these has meaning, depending on the value of 'Type'. Int int64 // Value union. Only one of these has meaning, depending on the value of 'Type'. Uint uint64 // Value union. Only one of these has meaning, depending on the value of 'Type'. Float64 float64 // Value union. Only one of these has meaning, depending on the value of 'Type'. Tagged bool // Extension slot for cbor. Tag int // Extension slot for cbor. Only applicable if tagged=true. }
type TIArrClose ¶
type TIArrClose struct{}
func (TIArrClose) Type ¶
func (TIArrClose) Type() TokenType
type TIMapClose ¶
type TIMapClose struct{}
func (TIMapClose) Type ¶
func (TIMapClose) Type() TokenType
Click to show internal directories.
Click to hide internal directories.