- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ScanStrings (0.27 sec)
-
src/cmd/asm/internal/lex/tokenizer.go
s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' ' // Don't skip comments: we need to count newlines. s.Mode = scanner.ScanChars | scanner.ScanFloats | scanner.ScanIdents | scanner.ScanInts | scanner.ScanStrings | scanner.ScanComments s.Position.Filename = name s.IsIdentRune = isIdentRune return &Tokenizer{ s: &s, base: src.NewFileBase(name, objabi.AbsFile(objabi.WorkingDir(), name, *flags.TrimPath)), line: 1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 04 20:35:21 UTC 2022 - 3K bytes - Viewed (0) -
src/text/scanner/scanner.go
ScanFloats = 1 << -Float // includes Ints and hexadecimal floats ScanChars = 1 << -Char ScanStrings = 1 << -String ScanRawStrings = 1 << -RawString ScanComments = 1 << -Comment SkipComments = 1 << -skipComment // if set with ScanComments, comments become white space GoTokens = ScanIdents | ScanFloats | ScanChars | ScanStrings | ScanRawStrings | ScanComments | SkipComments )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
src/text/scanner/scanner_test.go
// the floats in the source look like (invalid) octal ints // and ScanNumbers may return either Int or Float. testScanSelectedMode(t, ScanChars, Char) testScanSelectedMode(t, ScanStrings, String) testScanSelectedMode(t, SkipComments, 0) testScanSelectedMode(t, ScanComments, Comment) } func TestScanCustomIdent(t *testing.T) { const src = "faab12345 a12b123 a12 3b"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 03:41:50 UTC 2022 - 25.3K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
p.scanner.Init(src) p.scanner.Error = func(_ *scanner.Scanner, msg string) { p.error(msg) } p.scanner.Mode = scanner.ScanIdents | scanner.ScanInts | scanner.ScanFloats | scanner.ScanStrings p.scanner.Whitespace = 1<<'\t' | 1<<' ' p.scanner.Filename = filename // for good error messages p.next() } type importError struct { pos scanner.Position err error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ScanChars", Const, 0}, {"ScanComments", Const, 0}, {"ScanFloats", Const, 0}, {"ScanIdents", Const, 0}, {"ScanInts", Const, 0}, {"ScanRawStrings", Const, 0}, {"ScanStrings", Const, 0}, {"Scanner", Type, 0}, {"Scanner.Error", Field, 0}, {"Scanner.ErrorCount", Field, 0}, {"Scanner.IsIdentRune", Field, 4}, {"Scanner.Mode", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.1.txt
pkg text/scanner, const ScanFloats = 16 pkg text/scanner, const ScanIdents = 4 pkg text/scanner, const ScanInts = 8 pkg text/scanner, const ScanRawStrings = 128 pkg text/scanner, const ScanStrings = 64 pkg text/scanner, const SkipComments = 512 pkg text/scanner, const String = -6 pkg text/tabwriter, const AlignRight = 4 pkg text/tabwriter, const Debug = 32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)