Documentation ¶
Index ¶
- type Bytes
- type BytesLiteral
- func (this BytesLiteral) All(v byte) bool
- func (this BytesLiteral) Equals(another BytesLiteral) bool
- func (this BytesLiteral) Int64Value() int64
- func (this BytesLiteral) IntValue() int
- func (this BytesLiteral) String() string
- func (this BytesLiteral) Uint16() Uint16Literal
- func (this BytesLiteral) Uint16Value() uint16
- func (this BytesLiteral) Uint32Value() uint32
- func (this BytesLiteral) Uint8Value() uint8
- func (this BytesLiteral) Value() []byte
- type Int
- type Int64Literal
- type IntLiteral
- type String
- type StringLiteral
- type StringLiteralList
- type Uint16
- type Uint16Literal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesLiteral ¶ added in v1.9.1
type BytesLiteral []byte
func (BytesLiteral) All ¶ added in v1.9.1
func (this BytesLiteral) All(v byte) bool
All returns true if all bytes in the ByteLiteral are the same as given value.
func (BytesLiteral) Equals ¶ added in v1.9.1
func (this BytesLiteral) Equals(another BytesLiteral) bool
func (BytesLiteral) Int64Value ¶ added in v1.9.1
func (this BytesLiteral) Int64Value() int64
func (BytesLiteral) IntValue ¶ added in v1.9.1
func (this BytesLiteral) IntValue() int
func (BytesLiteral) String ¶ added in v1.9.1
func (this BytesLiteral) String() string
String returns a string presentation of this ByteLiteral
func (BytesLiteral) Uint16 ¶ added in v1.9.1
func (this BytesLiteral) Uint16() Uint16Literal
func (BytesLiteral) Uint16Value ¶ added in v1.9.1
func (this BytesLiteral) Uint16Value() uint16
func (BytesLiteral) Uint32Value ¶ added in v1.9.1
func (this BytesLiteral) Uint32Value() uint32
func (BytesLiteral) Uint8Value ¶ added in v1.9.1
func (this BytesLiteral) Uint8Value() uint8
func (BytesLiteral) Value ¶ added in v1.9.1
func (this BytesLiteral) Value() []byte
type Int64Literal ¶ added in v1.9.1
type Int64Literal int64
func (Int64Literal) Bytes ¶ added in v1.9.1
func (this Int64Literal) Bytes() []byte
func (Int64Literal) String ¶ added in v1.9.1
func (this Int64Literal) String() string
func (Int64Literal) Value ¶ added in v1.9.1
func (this Int64Literal) Value() int64
type IntLiteral ¶
type IntLiteral int
func (IntLiteral) Bytes ¶ added in v1.9.1
func (this IntLiteral) Bytes() []byte
func (IntLiteral) String ¶
func (this IntLiteral) String() string
func (IntLiteral) Value ¶
func (this IntLiteral) Value() int
type String ¶
type String interface {
String() string
}
An interface for any objects that has string presentation.
type StringLiteral ¶
type StringLiteral string
func NewStringLiteral ¶ added in v1.9.1
func NewStringLiteral(str String) StringLiteral
func (StringLiteral) Contains ¶ added in v1.9.1
func (this StringLiteral) Contains(str String) bool
func (StringLiteral) String ¶
func (this StringLiteral) String() string
func (StringLiteral) ToLower ¶ added in v1.9.1
func (this StringLiteral) ToLower() StringLiteral
func (StringLiteral) ToUpper ¶ added in v1.9.1
func (this StringLiteral) ToUpper() StringLiteral
func (StringLiteral) TrimSpace ¶ added in v1.9.1
func (this StringLiteral) TrimSpace() StringLiteral
type StringLiteralList ¶ added in v1.9.1
type StringLiteralList []StringLiteral
func NewStringLiteralList ¶ added in v1.9.1
func NewStringLiteralList(raw []string) *StringLiteralList
func (*StringLiteralList) Len ¶ added in v1.9.1
func (this *StringLiteralList) Len() int
type Uint16Literal ¶
type Uint16Literal uint16
func (Uint16Literal) Bytes ¶ added in v1.9.1
func (this Uint16Literal) Bytes() []byte
func (Uint16Literal) String ¶
func (this Uint16Literal) String() string
func (Uint16Literal) Value ¶
func (this Uint16Literal) Value() uint16
Click to show internal directories.
Click to hide internal directories.