Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isIdentRune (0.16 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
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
Back to top