Versions in this module Expand all Collapse all v0 v0.11.0 May 7, 2014 Changes in this version + const Char + const Comment + const EOF + const Float + const GoTokens + const GoWhitespace + const Ident + const Int + const RawString + const ScanChars + const ScanComments + const ScanFloats + const ScanIdents + const ScanInts + const ScanRawStrings + const ScanStrings + const SkipComments + const String + func TokenString(tok rune) string + type Position struct + Column int + Filename string + Line int + Offset int + func (pos *Position) IsValid() bool + func (pos Position) String() string + type Scanner struct + Error func(s *Scanner, msg string) + ErrorCount int + Mode uint + Whitespace uint64 + func (s *Scanner) Init(src io.Reader) *Scanner + func (s *Scanner) Next() rune + func (s *Scanner) Peek() rune + func (s *Scanner) Pos() (pos Position) + func (s *Scanner) Scan() rune + func (s *Scanner) TokenText() string