caplitparser

package
v0.0.0-...-a2324da Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by goyacc -l -o parser.go parser.y. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Type NodeType
	Val  interface{}
}

func Parse

func Parse(input []byte) (*Node, error)

func (*Node) String

func (n *Node) String() string

type NodeType

type NodeType uint8
const (
	NOBJECT NodeType = iota
	NLIST
	NSTRING
	NINT
	NFLOAT
	NENUM
	NBOOL
)

Jump to

Keyboard shortcuts

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