Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:35 +05 2020. DO NOT EDIT.
Index ¶
- func FileBase(f *token.File) int
- func FileLine(f *token.File, p token.Pos) int
- func FileLineCount(f *token.File) int
- func FileLineStart(f *token.File, line int) token.Pos
- func FileName(f *token.File) string
- func FileOffset(f *token.File, p token.Pos) int
- func FilePos(f *token.File, offset int) token.Pos
- func FilePosition(f *token.File, p token.Pos) token.Position
- func FilePositionFor(f *token.File, p token.Pos, adjusted bool) token.Position
- func FileSetAddFile(s *token.FileSet, filename string, base, size int) *token.File
- func FileSetBase(s *token.FileSet) int
- func FileSetFile(s *token.FileSet, p token.Pos) *token.File
- func FileSetIterate(s *token.FileSet, f func(*token.File) bool)
- func FileSetLines(f *token.File, lines []int) bool
- func FileSetPosition(s *token.FileSet, p token.Pos) token.Position
- func FileSetPositionFor(s *token.FileSet, p token.Pos, adjusted bool) token.Position
- func FileSetRead(s *token.FileSet, decode func(interface{}) error) error
- func FileSetWrite(s *token.FileSet, encode func(interface{}) error) error
- func FileSize(f *token.File) int
- func IsExported(name string) bool
- func IsIdentifier(name string) bool
- func IsKeyword(name string) bool
- func Lookup(ident string) token.Token
- func NewFileSet() *token.FileSet
- func PosIsValid(p token.Pos) bool
- func PositionIsValid(pos *token.Position) bool
- func PositionString(pos token.Position) string
- func TokenIsKeyword(tok token.Token) bool
- func TokenIsLiteral(tok token.Token) bool
- func TokenIsOperator(tok token.Token) bool
- func TokenPrecedence(op token.Token) int
- func TokenString(tok token.Token) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileLineCount ¶
func FilePositionFor ¶
func FileSetAddFile ¶
func FileSetBase ¶
func FileSetPositionFor ¶
func IsExported ¶
func IsIdentifier ¶
func NewFileSet ¶
func PosIsValid ¶
func PositionIsValid ¶
func PositionString ¶
func TokenIsKeyword ¶
func TokenIsLiteral ¶
func TokenIsOperator ¶
func TokenPrecedence ¶
func TokenString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.