Versions in this module Expand all Collapse all v0 v0.2.0 Aug 26, 2026 Changes in this version type Scanner + func NewKeepingComments(input string) *Scanner + func (s *Scanner) Comments() []Token v0.1.0 Aug 17, 2026 Changes in this version + var Keywords = map[string]Keyword + type Error struct + Cursorpos int + Filename string + Funcname string + Message string + func (e *Error) Error() string + type Filter struct + func NewFilter(s *Scanner) *Filter + func (f *Filter) Cursorpos(loc int) int + func (f *Filter) Next() (Token, *Error) + func (f *Filter) ParserError(funcname, message string, loc int) *Error + func (f *Filter) SyntaxError(tok Token) *Error + func (f *Filter) SyntaxErrorMsg(tok Token, msg string) *Error + type Keyword struct + BareLabel bool + Category KeywordCategory + Name string + Token string + type KeywordCategory int + const ColName + const Reserved + const TypeFuncName + const Unreserved + type Scanner struct + func New(input string) *Scanner + func (s *Scanner) Input() string + func (s *Scanner) Next() (Token, *Error) + type Token struct + End int32 + Ival int32 + KeywordKind ast.KeywordKind + Kind ast.Token + Start int32 + Str string