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 ¶
type BytesLiteral []byte
func (BytesLiteral) All ¶
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 ¶
func (this BytesLiteral) Equals(another BytesLiteral) bool
func (BytesLiteral) Int64Value ¶
func (this BytesLiteral) Int64Value() int64
func (BytesLiteral) IntValue ¶
func (this BytesLiteral) IntValue() int
func (BytesLiteral) String ¶
func (this BytesLiteral) String() string
String returns a string presentation of this ByteLiteral
func (BytesLiteral) Uint16 ¶
func (this BytesLiteral) Uint16() Uint16Literal
func (BytesLiteral) Uint16Value ¶
func (this BytesLiteral) Uint16Value() uint16
func (BytesLiteral) Uint32Value ¶
func (this BytesLiteral) Uint32Value() uint32
func (BytesLiteral) Uint8Value ¶
func (this BytesLiteral) Uint8Value() uint8
func (BytesLiteral) Value ¶
func (this BytesLiteral) Value() []byte
type Int64Literal ¶
type Int64Literal int64
func (Int64Literal) Bytes ¶
func (this Int64Literal) Bytes() []byte
func (Int64Literal) String ¶
func (this Int64Literal) String() string
func (Int64Literal) Value ¶
func (this Int64Literal) Value() int64
type IntLiteral ¶
type IntLiteral int
func (IntLiteral) Bytes ¶
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 ¶
func NewStringLiteral(str String) StringLiteral
func (StringLiteral) Contains ¶
func (this StringLiteral) Contains(str String) bool
func (StringLiteral) String ¶
func (this StringLiteral) String() string
func (StringLiteral) ToLower ¶
func (this StringLiteral) ToLower() StringLiteral
func (StringLiteral) ToUpper ¶
func (this StringLiteral) ToUpper() StringLiteral
func (StringLiteral) TrimSpace ¶
func (this StringLiteral) TrimSpace() StringLiteral
type StringLiteralList ¶
type StringLiteralList []StringLiteral
func NewStringLiteralList ¶
func NewStringLiteralList(raw []string) *StringLiteralList
func (*StringLiteralList) Len ¶
func (this *StringLiteralList) Len() int
type Uint16Literal ¶
type Uint16Literal uint16
func (Uint16Literal) Bytes ¶
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.