Documentation
¶
Index ¶
- Variables
- func Abort(s string)
- func AddEntry(name rune, t rune)
- func AddParam(name rune)
- func Alloc(n rune)
- func AssignOrProc()
- func Assignment(name rune)
- func BeginBlock()
- func Call(name rune)
- func CallProc(name rune)
- func CheckVar(name rune)
- func CleanStack(n int)
- func ClearParams()
- func Decl()
- func DoBlock()
- func DoMain()
- func DoProc()
- func Duplicate(n string)
- func Emit(s string)
- func EmitLn(s string)
- func Epilog()
- func Error(s string)
- func Expected(s string)
- func Expression()
- func Fin()
- func FormalList()
- func FormalParam()
- func GetChar()
- func GetName() (r rune)
- func GetNum() (r rune)
- func Go()
- func InTable(n rune) bool
- func Init()
- func IsAddOp(r rune) bool
- func IsAlNum(r rune) bool
- func IsAlpha(r rune) bool
- func IsDigit(r rune) bool
- func IsMulOp(r rune) bool
- func IsOrOp(r rune) bool
- func IsParam(n rune) bool
- func IsRelOp(r rune) bool
- func IsWhite(r rune) bool
- func LoadParam(n int)
- func LoadVar(name rune)
- func Match(x rune)
- func Param()
- func ParamList() int
- func ParamNumber(n rune) int
- func PostLabel(l string)
- func ProcEpilog()
- func ProcProlog(n rune)
- func Prolog()
- func Push()
- func Return()
- func SkipWhite()
- func StoreParam(n int)
- func StoreVar(name rune)
- func TopDecls()
- func TypeOf(n rune) rune
- func Undefined(n string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Look rune
Look is a Lookahead character
View Source
var NumParams int
NumParams is the Number of Parameters
View Source
var Params map[rune]int
Params is a Table of Function Parameters
View Source
var ST map[rune]rune
ST is a Symbol Table
Functions ¶
func AssignOrProc ¶
func AssignOrProc()
AssignOrProc Decides if a Statement is an Assignment or Procedure call
func Assignment ¶
func Assignment(name rune)
Assignment Parses and Translates an Assignment Statement
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.