Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isIdentRune (0.13 sec)

  1. src/cmd/asm/internal/lex/tokenizer.go

    		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,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. api/go1.4.txt

    pkg testing, method (*M) Run() int
    pkg testing, type M struct
    
    # CL 108030044 text/scanner: provide facility for custom identifiers, Robert Griesemer <******@****.***>
    pkg text/scanner, type Scanner struct, IsIdentRune func(int32, int) bool
    
    # CL 130620043 text/template: add back pointer to Nodes for better error generation, Rob Pike <******@****.***>
    pkg text/template/parse, type DotNode struct, embedded NodeType
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
Back to top