parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SYMBOL_TABLES = map[string]int{}/* 105 elements not displayed */

Functions

func Parse

func Parse(src io.Reader, filename string) error

Types

type Context

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

func NewContext

func NewContext(src io.Reader, filename string) *Context

type Error

type Error struct {
	Message  string
	Filename string
	Line     int
	Column   int
}

func (*Error) Error

func (e *Error) Error() string

type Lexer

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

func NewLexer

func NewLexer(src io.Reader, filename string) *Lexer

func (*Lexer) Error

func (l *Lexer) Error(msg string)

func (*Lexer) Lex

func (l *Lexer) Lex(lval *yySymType) int

Jump to

Keyboard shortcuts

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