cradle

package
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 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 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 IsAddOp

func IsAddOp(r rune) bool

IsAddOp Recognizes an AddOp

func IsAlNum

func IsAlNum(r rune) bool

IsAlNum Recognizes an Alphanumeric Character

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 IsMulOp

func IsMulOp(r rune) bool

IsMulOp Recognizes a MulOp

func Match

func Match(x rune)

Match Matches a Specific Input Character

Types

This section is empty.

Jump to

Keyboard shortcuts

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