Versions in this module Expand all Collapse all v0 v0.0.2 Nov 3, 2023 Changes in this version + type ErrorHandler func(pos token.Pos, msg string, args []interface{}) + type Mode uint + const DontInsertCommas + const ScanComments + type Scanner struct + ErrorCount int + func (s *Scanner) Init(file *token.File, src []byte, eh ErrorHandler, mode Mode) + func (s *Scanner) Offset() int + func (s *Scanner) ResumeInterpolation() string + func (s *Scanner) Scan() (pos token.Pos, tok token.Token, lit string)