base

package
v0.0.0-...-c439057 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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) Compare

func (node *Node) Compare(second *Node) bool

Compare -

func (*Node) GetAnnotations

func (node *Node) GetAnnotations() map[string]struct{}

GetAnnotations - returns all node`s annotations recursively

func (*Node) IsLambda

func (node *Node) IsLambda() bool

IsLambda -

func (*Node) MarshalJSON

func (node *Node) MarshalJSON() ([]byte, error)

MarshalJSON -

func (*Node) String

func (node *Node) String() string

String - converts node info to string

func (*Node) UnmarshalJSON

func (node *Node) UnmarshalJSON(data []byte) error

UnmarshalJSON -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL