Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for EndPos (0.15 sec)

  1. src/cmd/compile/internal/types2/signature.go

    	// scopePos, there should be no need for scope squashing.
    	// Audit to ensure all lookups honor scopePos and simplify.
    	scope := NewScope(check.scope, nopos, nopos, "function body (temp. scope)")
    	scopePos := syntax.EndPos(ftyp) // all parameters' scopes start after the signature
    	var recvList []*Var             // TODO(gri) remove the need for making a list here
    	if recvPar != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stmt.go

    			} else {
    				first = c
    			}
    		}
    	}
    }
    
    func (check *Checker) openScope(node syntax.Node, comment string) {
    	check.openScopeUntil(node, syntax.EndPos(node), comment)
    }
    
    func (check *Checker) openScopeUntil(node syntax.Node, end syntax.Pos, comment string) {
    	scope := NewScope(check.scope, node.Pos(), end, comment)
    	check.recordScope(node, scope)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/resolver.go

    		// The package identifier denotes the current package,
    		// but there is no corresponding package object.
    		check.recordDef(file.PkgName, nil)
    
    		fileScope := NewScope(pkg.scope, syntax.StartPos(file), syntax.EndPos(file), check.filename(fileNo))
    		fileScopes = append(fileScopes, fileScope)
    		check.recordScope(file, fileScope)
    
    		// determine file directory, necessary to resolve imports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/expr.go

    		if sig, ok := check.typ(e.Type).(*Signature); ok {
    			// Set the Scope's extent to the complete "func (...) {...}"
    			// so that Scope.Innermost works correctly.
    			sig.scope.pos = e.Pos()
    			sig.scope.end = syntax.EndPos(e)
    			if !check.conf.IgnoreFuncBodies && e.Body != nil {
    				// Anonymous functions are considered part of the
    				// init expression/func declaration which contains
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    	makePkg("main", mainSrc)
    
    	for e, sel := range selections {
    		_ = sel.String() // assertion: must not panic
    
    		start := indexFor(mainSrc, syntax.StartPos(e))
    		end := indexFor(mainSrc, syntax.EndPos(e))
    		segment := mainSrc[start:end] // (all SelectorExprs are in main, not lib)
    
    		direct := "."
    		if sel.Indirect() {
    			direct = "->"
    		}
    		got := [2]string{
    			sel.String(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/providers/collections/groovy/build.gradle

        // Add some strings to the domain object set
        void addString(String value) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person {
        String name
    }
    // end::ndol[]
    // end::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectSet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        // Add some strings to the domain object set
        fun addString(value: String) {
            myStrings.add(value)
        }
    }
    // end::dos[]
    
    // tag::ndos[]
    // tag::ndol[]
    // tag::ndoc[]
    abstract class Person(val name: String)
    // end::ndol[]
    // end::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectSet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/collections.adoc

    ====
    include::sample[dir="snippets/providers/collections/kotlin",files="build.gradle.kts[tags=ndos]"]
    include::sample[dir="snippets/providers/collections/groovy",files="build.gradle[tags=ndos]"]
    ====
    
    [[nameddomainobjectlist]]
    == 3. `NamedDomainObjectList`
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top