github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_text_scanner.go (about) 1 // Code generated by 'yaegi extract text/scanner'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "go/constant" 9 "go/token" 10 "reflect" 11 "text/scanner" 12 ) 13 14 func init() { 15 Symbols["text/scanner/scanner"] = map[string]reflect.Value{ 16 // function, constant and variable definitions 17 "Char": reflect.ValueOf(constant.MakeFromLiteral("-5", token.INT, 0)), 18 "Comment": reflect.ValueOf(constant.MakeFromLiteral("-8", token.INT, 0)), 19 "EOF": reflect.ValueOf(constant.MakeFromLiteral("-1", token.INT, 0)), 20 "Float": reflect.ValueOf(constant.MakeFromLiteral("-4", token.INT, 0)), 21 "GoTokens": reflect.ValueOf(constant.MakeFromLiteral("1012", token.INT, 0)), 22 "GoWhitespace": reflect.ValueOf(constant.MakeFromLiteral("4294977024", token.INT, 0)), 23 "Ident": reflect.ValueOf(constant.MakeFromLiteral("-2", token.INT, 0)), 24 "Int": reflect.ValueOf(constant.MakeFromLiteral("-3", token.INT, 0)), 25 "RawString": reflect.ValueOf(constant.MakeFromLiteral("-7", token.INT, 0)), 26 "ScanChars": reflect.ValueOf(constant.MakeFromLiteral("32", token.INT, 0)), 27 "ScanComments": reflect.ValueOf(constant.MakeFromLiteral("256", token.INT, 0)), 28 "ScanFloats": reflect.ValueOf(constant.MakeFromLiteral("16", token.INT, 0)), 29 "ScanIdents": reflect.ValueOf(constant.MakeFromLiteral("4", token.INT, 0)), 30 "ScanInts": reflect.ValueOf(constant.MakeFromLiteral("8", token.INT, 0)), 31 "ScanRawStrings": reflect.ValueOf(constant.MakeFromLiteral("128", token.INT, 0)), 32 "ScanStrings": reflect.ValueOf(constant.MakeFromLiteral("64", token.INT, 0)), 33 "SkipComments": reflect.ValueOf(constant.MakeFromLiteral("512", token.INT, 0)), 34 "String": reflect.ValueOf(constant.MakeFromLiteral("-6", token.INT, 0)), 35 "TokenString": reflect.ValueOf(scanner.TokenString), 36 37 // type definitions 38 "Position": reflect.ValueOf((*scanner.Position)(nil)), 39 "Scanner": reflect.ValueOf((*scanner.Scanner)(nil)), 40 } 41 }