parser

package
v0.0.0-...-ecb2b82 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by goyacc -l -v grammar.out -o grammar.go grammar.y. DO NOT EDIT.

Index

Constants

View Source
const (
	EOF   = 0
	ERROR = -1
)
View Source
const ANY = 57346
View Source
const ENUM = 57347
View Source
const IDENT = 57355
View Source
const IMPORT = 57348
View Source
const INTEGER = 57356
View Source
const MESSAGE = 57349
View Source
const METHOD_OUTPUT = 57358
View Source
const ONEWAY = 57350
View Source
const OPTIONS = 57351
View Source
const SERVICE = 57353
View Source
const STRING = 57357
View Source
const STRUCT = 57352
View Source
const SUBSERVICE = 57354

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	Parse(s string) (*syntax.File, error)
	ParseFile(path string) (*syntax.File, error)
	ParseDirectory(path string) ([]*syntax.File, error)
}

func New

func New() Parser

New returns a new reusable parser.

Jump to

Keyboard shortcuts

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