Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2016 Changes in this version + func HistLine() int32 + func InitHist() + func IsRegisterShift(r ScanToken) bool + type Input struct + func NewInput(name string) *Input + func (in *Input) Close() + func (in *Input) Error(args ...interface{}) + func (in *Input) Next() ScanToken + func (in *Input) Push(r TokenReader) + func (in *Input) Text() string + type Macro struct + type ScanToken rune + const ARR + const LSH + const ROT + const RSH + func (t ScanToken) String() string + type Slice struct + func NewSlice(fileName string, line int, tokens []Token) *Slice + func (s *Slice) Close() + func (s *Slice) Col() int + func (s *Slice) File() string + func (s *Slice) Line() int + func (s *Slice) Next() ScanToken + func (s *Slice) SetPos(line int, file string) + func (s *Slice) Text() string + type Stack struct + func (s *Stack) Close() + func (s *Stack) Col() int + func (s *Stack) File() string + func (s *Stack) Line() int + func (s *Stack) Next() ScanToken + func (s *Stack) Push(tr TokenReader) + func (s *Stack) SetPos(line int, file string) + func (s *Stack) Text() string + type Token struct + func Make(token ScanToken, text string) Token + func Tokenize(str string) []Token + func (l Token) String() string + type TokenReader interface + Close func() + Col func() int + File func() string + Line func() int + Next func() ScanToken + SetPos func(line int, file string) + Text func() string + func NewLexer(name string, ctxt *obj.Link) TokenReader + type Tokenizer struct + func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer + func (t *Tokenizer) Close() + func (t *Tokenizer) Col() int + func (t *Tokenizer) File() string + func (t *Tokenizer) Line() int + func (t *Tokenizer) Next() ScanToken + func (t *Tokenizer) SetPos(line int, file string) + func (t *Tokenizer) Text() string