Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsKeyword (0.11 sec)

  1. src/cmd/cgo/gcc.go

    	used := make(map[string]bool)
    	for _, f := range dt.Field {
    		ident[f.Name] = f.Name
    		used[f.Name] = true
    	}
    
    	if !*godefs {
    		for cid, goid := range ident {
    			if token.Lookup(goid).IsKeyword() {
    				// Avoid keyword
    				goid = "_" + goid
    
    				// Also avoid existing fields
    				for _, exist := used[goid]; exist; _, exist = used[goid] {
    					goid = "_" + goid
    				}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. api/go1.13.txt

    pkg go/constant, func Make(interface{}) Value
    pkg go/constant, func Val(Value) interface{}
    pkg go/token, func IsExported(string) bool
    pkg go/token, func IsIdentifier(string) bool
    pkg go/token, func IsKeyword(string) bool
    pkg go/types, func CheckExpr(*token.FileSet, *Package, token.Pos, ast.Expr, *Info) error
    pkg log, func Writer() io.Writer
    pkg log/syslog (netbsd-arm64-cgo), const LOG_ALERT = 1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg go/token, method (*Position) IsValid() bool
    pkg go/token, method (Pos) IsValid() bool
    pkg go/token, method (Position) String() string
    pkg go/token, method (Token) IsKeyword() bool
    pkg go/token, method (Token) IsLiteral() bool
    pkg go/token, method (Token) IsOperator() bool
    pkg go/token, method (Token) Precedence() int
    pkg go/token, method (Token) String() string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top