candidtest

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

	TestDataT    // 001
	CommentTextT // 002
	TestT        // 003
	TestGoodT    // 004
	TestBadT     // 005
	TestTestT    // 006
	NullT        // 007
	BoolT        // 008
	NatT         // 009
	IntT         // 010
	FloatT       // 011
	BaseT        // 012
	TextT        // 013
	ReservedT    // 014
	EmptyT       // 015
	OptT         // 016
	TextInputT   // 017
	BlobInputT   // 018
	DescriptionT // 019
)

Node Types

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

Token Definitions

Variables

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

	"TestData",
	"CommentText",
	"Test",
	"TestGood",
	"TestBad",
	"TestTest",
	"Null",
	"Bool",
	"Nat",
	"Int",
	"Float",
	"Base",
	"Text",
	"Reserved",
	"Empty",
	"Opt",
	"TextInput",
	"BlobInput",
	"Description",
}

Functions

func Ascii

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

func Base

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

func BlobInput

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

func BlobInputTmpl

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

func Bool

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

func Char

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

func Comment

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

func CommentText

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

func Description

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

func Digit

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

func Empty

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

func EndLine

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

func Escape

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

func Float

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

func Hex

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

func HexNum

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

func Input

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

func Int

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

func Letter

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

func MultiComment

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

func Nat

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

func Null

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

func Opt

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

func Reserved

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

func String

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

func Test

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

func TestBad

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

func TestBadTmpl

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

func TestData

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

func TestGood

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

func TestGoodTmpl

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

func TestTest

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

func Text

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

func TextInput

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

func TextInputTmpl

func TextInputTmpl(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 Values

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

func ValuesBr

func ValuesBr(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