parse

package
Version: v0.0.0-...-d4b45ed Latest Latest
Warning

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

Go to latest
Published: May 3, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Look rune

Look is a Lookahead character

Functions

func Abort

func Abort(s string)

Abort Reports Error and Halts

func Constants

func Constants()

Constants Processes Const Statement

func Declarations

func Declarations()

Declarations Parses and Translates the Declaration Part

func DoBlock

func DoBlock(name rune)

DoBlock Parses and Translates a Pascal Block

func DoFunction

func DoFunction()

DoFunction Processes Function Definition

func DoProcedure

func DoProcedure()

DoProcedure Processes Procedure Definition

func Emit

func Emit(s string)

Emit Ouputs a String with Tab

func EmitLn

func EmitLn(s string)

EmitLn Ouputs a String with Tab and CRLF

func Epilog

func Epilog(name rune)

Epilog Writes the Eiplog

func Error

func Error(s string)

Error Reports an Error

func Expected

func Expected(s string)

Expected Reports What Was Expected

func GetChar

func GetChar()

GetChar Reads New Character From Input Stream

func GetName

func GetName() (r rune)

GetName Gets an Identifier

func GetNum

func GetNum() (r rune)

GetNum Gets a Number

func Go

func Go()

Go starts the execution of this chapter

func Init

func Init()

Init Initializes

func IsAlpha

func IsAlpha(r rune) bool

IsAlpha Recognizes an Alpha Character

func IsDigit

func IsDigit(r rune) bool

IsDigit Recognizes a Decimal Digit

func Labels

func Labels()

Labels Processes Label Statement

func Match

func Match(x rune)

Match Matches a Specific Input Character

func PostLabel

func PostLabel(l rune)

PostLabel Posts a Label to Outputs

func Prog

func Prog()

Prog Parses and Translates a Program

func Prolog

func Prolog()

Prolog Writes the Prolog

func Statements

func Statements()

Statements Writes the Statements

func Types

func Types()

Types Processes Type Statement

func Variables

func Variables()

Variables Processes Var Statement

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL