micheline

package
v0.0.0-...-917f730 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NUL = 0
)

Variables

This section is empty.

Functions

func Print

func Print(n ast.Node, indent string) string

Types

type Error

type Error struct {
	Message string
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func InitParser

func InitParser(micheline string) (parser Parser)

func (*Parser) Error

func (p *Parser) Error() error

func (*Parser) HasErrors

func (p *Parser) HasErrors() bool

func (*Parser) Parse

func (p *Parser) Parse() ast.Node

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func InitScanner

func InitScanner(micheline string) (scanner Scanner)

func (*Scanner) Scan

func (s *Scanner) Scan() (pos int, tk token.Kind, text string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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