Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for EndPos (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IfStmt.Else", Field, 0},
    		{"IfStmt.If", Field, 0},
    		{"IfStmt.Init", Field, 0},
    		{"ImportSpec", Type, 0},
    		{"ImportSpec.Comment", Field, 0},
    		{"ImportSpec.Doc", Field, 0},
    		{"ImportSpec.EndPos", Field, 0},
    		{"ImportSpec.Name", Field, 0},
    		{"ImportSpec.Path", Field, 0},
    		{"Importer", Type, 0},
    		{"IncDecStmt", Type, 0},
    		{"IncDecStmt.Tok", Field, 0},
    		{"IncDecStmt.TokPos", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top