Versions in this module Expand all Collapse all v0 v0.99.12 Apr 13, 2020 v0.99.11 Apr 13, 2020 v0.99.2 Apr 10, 2020 v0.99.1 Apr 10, 2020 Changes in this version + type File struct + func NewFile(name string, sz int) *File + func (f *File) AddLine(offset int) + func (f *File) Base() int + func (f *File) Name() string + func (f *File) Offset(pos ast.Position) int + func (f *File) Pos(offset int) Pos + func (f *File) Position(pos Pos) ast.Position + func (f *File) Size() int + type FileSet struct + func (f *FileSet) AddFile(filename string, size int) *File + type Pos int + type Token int + const ADD + const AND + const ARROW + const ASSIGN + const BUILTIN + const COLON + const COMMA + const COMMENT + const DIV + const DOT + const DURATION + const ELSE + const EMPTY + const EOF + const EQ + const EXISTS + const FLOAT + const GT + const GTE + const IDENT + const IF + const ILLEGAL + const IMPORT + const IN + const INT + const LBRACE + const LBRACK + const LPAREN + const LT + const LTE + const MOD + const MUL + const NEQ + const NOT + const OPTION + const OR + const PACKAGE + const PIPE_FORWARD + const PIPE_RECEIVE + const POW + const QUOTE + const RBRACE + const RBRACK + const REGEX + const REGEXEQ + const REGEXNEQ + const RETURN + const RPAREN + const STRING + const STRINGEXPR + const SUB + const TEST + const TEXT + const THEN + const TIME + const WITH + func (t Token) String() string