parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CtrStmt

type CtrStmt struct {
	Name     string
	Fields   []Field
	Reserved Reserved
}

type Field

type Field struct {
	Type  lexer.Token
	Ctr   string
	Array bool
	Safe  bool
	Name  string
	Id    uint16
}

type Node

type Node interface{}

type PackageStmt

type PackageStmt struct {
	Name string
}

type Parser

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

func NewParser

func NewParser(reader io.Reader, fc string) *Parser

func (*Parser) Parse

func (p *Parser) Parse() []Node

type Reserved

type Reserved struct {
	Ids []uint16
}

Jump to

Keyboard shortcuts

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