Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for identifiers (0.29 sec)

  1. doc/go1.17_spec.html

    BasicLit    = int_lit | float_lit | imaginary_lit | rune_lit | string_lit .
    OperandName = identifier | QualifiedIdent .
    </pre>
    
    <h3 id="Qualified_identifiers">Qualified identifiers</h3>
    
    <p>
    A qualified identifier is an identifier qualified with a package name prefix.
    Both the package name and the identifier must not be
    <a href="#Blank_identifier">blank</a>.
    </p>
    
    <pre class="ebnf">
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <h3 id="Qualified_identifiers">Qualified identifiers</h3>
    
    <p>
    A <i>qualified identifier</i> is an identifier qualified with a package name prefix.
    Both the package name and the identifier must not be
    <a href="#Blank_identifier">blank</a>.
    </p>
    
    <pre class="ebnf">
    QualifiedIdent = PackageName "." identifier .
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    Cgo first invokes gcc -E -dM on the preamble, in order to find out
    about simple #defines for constants and the like. These are recorded
    for later use.
    
    Next, cgo needs to identify the kinds for each identifier. For the
    identifiers C.foo, cgo generates this C program:
    
    	<preamble>
    	#line 1 "not-declared"
    	void __cgo_f_1_1(void) { __typeof__(foo) *__cgo_undefined__1; }
    	#line 1 "not-type"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // license that can be found in the LICENSE file.
    
    /*
    Package builtin provides documentation for Go's predeclared identifiers.
    The items documented here are not actually in package builtin
    but their descriptions here allow godoc to present documentation
    for the language's special identifiers.
    */
    package builtin
    
    import "cmp"
    
    // bool is the set of boolean values, true and false.
    type bool bool
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	}
    	return strings.Join(pieces, "")
    }
    
    func (f *File) validateIdents(x interface{}, context astContext) {
    	if x, ok := x.(*ast.Ident); ok {
    		if f.isMangledName(x.Name) {
    			error_(x.Pos(), "identifier %q may conflict with identifiers generated by cgo", x.Name)
    		}
    	}
    }
    
    // Save various references we are going to need later.
    func (f *File) saveExprs(x interface{}, context astContext) {
    	switch x := x.(type) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. doc/asm.html

    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    and the division slash U+2215 in identifiers and rewrites them to
    plain period and slash.
    Within an assembler source file, the symbols above are written as
    <code>fmt·Printf</code> and <code>math∕rand·Int</code>.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	}
    
    	for i, n := range names {
    		switch sniff[i] {
    		default:
    			if sniff[i]&notDeclared != 0 && optional[n] {
    				// Ignore optional undeclared identifiers.
    				// Don't report an error, and skip adding n to the needType array.
    				continue
    			}
    			error_(f.NamePos[n], "could not determine kind of name for C.%s", fixGo(n.Go))
    		case notStrLiteral | notType:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/tokenizer.go

    		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
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		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)
  9. misc/ios/README

    will select the device:
    
    	GOOS=ios GOARCH=arm64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash
    
    Note that the go_darwin_$GOARCH_exec wrapper uninstalls any existing app identified by
    the bundle id before installing a new app. If the uninstalled app is the last app by
    the developer identity, the device might also remove the permission to run apps from
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  10. 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 <******@****.***>
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
Back to top