Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Comment = 57351
View Source
const EOF = 0
View Source
const ILLEGAL = 57346
View Source
const Ident = 57352
View Source
const Returns = 57349
View Source
const Route = 57350
View Source
const Rpc = 57348
View Source
const Service = 57347
View Source
const String = 57353

Variables

This section is empty.

Functions

func Parser

func Parser(src io.Reader, filename string) ([]*ast.Stmt, error)

Parser ..

Types

type Scanner

type Scanner struct {
	Stmts []*ast.Stmt
	Err   error
	// contains filtered or unexported fields
}

Scanner ..

func (*Scanner) Error

func (s *Scanner) Error(msg string)

Lex ..

func (*Scanner) Lex

func (s *Scanner) Lex(lval *yySymType) int

Lex ..

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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