Documentation
¶
Index ¶
- type Node
- func (node *Node) Compare(second *Node) bool
- func (node *Node) Fingerprint(isCode bool) (string, error)
- func (node *Node) GetAnnotations() map[string]struct{}
- func (node *Node) Hash() (string, error)
- func (node *Node) IsLambda() bool
- func (node *Node) MarshalJSON() ([]byte, error)
- func (node *Node) String() string
- func (node *Node) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Prim string `json:"prim,omitempty"`
Args []*Node `json:"args,omitempty"`
Annots []string `json:"annots,omitempty"`
StringValue *string `json:"string,omitempty"`
BytesValue *string `json:"bytes,omitempty"`
IntValue *types.BigInt `json:"int,omitempty"`
}
Node - struct for parsing micheline
func (*Node) GetAnnotations ¶
GetAnnotations - returns all node`s annotations recursively
Click to show internal directories.
Click to hide internal directories.