candidvalue

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown = iota

	ValuesT      // 001
	OptValueT    // 002
	NumT         // 003
	NumValueT    // 004
	NumTypeT     // 005
	BoolValueT   // 006
	BlobT        // 007
	NullT        // 008
	PrincipalT   // 009
	TextT        // 010
	TextValueT   // 011
	RecordT      // 012
	RecordFieldT // 013
	VariantT     // 014
	VecT         // 015
	IdT          // 016
)

Node Types

View Source
const (
	ESC = 0x005C // \
)

Token Definitions

Variables

View Source
var NodeTypes = []string{
	"UNKNOWN",

	"Values",
	"OptValue",
	"Num",
	"NumValue",
	"NumType",
	"BoolValue",
	"Blob",
	"Null",
	"Principal",
	"Text",
	"TextValue",
	"Record",
	"RecordField",
	"Variant",
	"Vec",
	"Id",
}

Functions

func Ascii

func Ascii(p *parser.Parser) (*parser.Cursor, bool)

func Blob added in v0.3.0

func Blob(p *ast.Parser) (*ast.Node, error)

func Bool

func Bool(p *ast.Parser) (*ast.Node, error)

func BoolValue

func BoolValue(p *ast.Parser) (*ast.Node, error)

func Char

func Char(p *ast.Parser) (*ast.Node, error)

func Digit

func Digit(p *parser.Parser) (*parser.Cursor, bool)

func Escape

func Escape(p *parser.Parser) (*parser.Cursor, bool)

func Hex

func Hex(p *parser.Parser) (*parser.Cursor, bool)

func HexNum

func HexNum(p *ast.Parser) (*ast.Node, error)

func Id

func Id(p *ast.Parser) (*ast.Node, error)

func Letter

func Letter(p *parser.Parser) (*parser.Cursor, bool)

func Null

func Null(p *ast.Parser) (*ast.Node, error)

func Num

func Num(p *ast.Parser) (*ast.Node, error)

func NumType

func NumType(p *ast.Parser) (*ast.Node, error)

func NumValue

func NumValue(p *ast.Parser) (*ast.Node, error)

func OptValue

func OptValue(p *ast.Parser) (*ast.Node, error)

func Principal

func Principal(p *ast.Parser) (*ast.Node, error)

func Record

func Record(p *ast.Parser) (*ast.Node, error)

func RecordField

func RecordField(p *ast.Parser) (*ast.Node, error)

func RecordFields

func RecordFields(p *ast.Parser) (*ast.Node, error)

func Sp

func Sp(p *ast.Parser) (*ast.Node, error)

func Spp

func Spp(p *ast.Parser) (*ast.Node, error)

func Text

func Text(p *ast.Parser) (*ast.Node, error)

func TextValue

func TextValue(p *ast.Parser) (*ast.Node, error)

func Utf

func Utf(p *ast.Parser) (*ast.Node, error)

func UtfEnc

func UtfEnc(p *ast.Parser) (*ast.Node, error)

func Utfcont

func Utfcont(p *parser.Parser) (*parser.Cursor, bool)

func Value

func Value(p *ast.Parser) (*ast.Node, error)

func Values

func Values(p *ast.Parser) (*ast.Node, error)

func Variant

func Variant(p *ast.Parser) (*ast.Node, error)

func VariantField

func VariantField(p *ast.Parser) (*ast.Node, error)

func Vec

func Vec(p *ast.Parser) (*ast.Node, error)

func VecFields

func VecFields(p *ast.Parser) (*ast.Node, error)

func Ws

func Ws(p *ast.Parser) (*ast.Node, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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