Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 300 for importPos (0.14 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

        /**
         * Represents [KaScope] containing declarations from imports.
         */
        public sealed class ImportingScope : NonLocalScope()
    
        /**
         * Represents [KaScope] containing declarations from explicit non-star imports.
         */
        public class ExplicitSimpleImportingScope(override val indexInTower: Int) : ImportingScope()
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

                    includeBuild('included')
                }
            """)
    
            def snippets = snippetsFactory.newSnippets(execOperationsFixture)
            testDirectory.file(file) << """
                ${snippets.imports}
                ${snippets.body}
            """
    
            when:
            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("Hello")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/scan.go

    			rf.synopsis = doc.Synopsis(info.parsed.Doc.Text())
    		}
    
    		var cgoDirectives []string
    		for _, imp := range info.imports {
    			if imp.path == "C" {
    				cgoDirectives = append(cgoDirectives, extractCgoDirectives(imp.doc.Text())...)
    			}
    			rf.imports = append(rf.imports, rawImport{path: imp.path, position: fset.Position(imp.pos)})
    		}
    		rf.cgoDirectives = strings.Join(cgoDirectives, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    	"sync"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/types/objectpath"
    )
    
    const debug = false
    
    // A Set is a set of analysis.Facts.
    //
    // Decode creates a Set of facts by reading from the imports of a given
    // package, and Encode writes out the set. Between these operation,
    // the Import and Export methods will query and update the set.
    //
    // All of Set's methods except String are safe to call concurrently.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/go/doc/example.go

    		}
    	}
    
    	// Use unresolved identifiers to determine the imports used by this
    	// example. The heuristic assumes package names match base import
    	// paths for imports w/o renames (should be good enough most of the time).
    	var namedImports []ast.Spec
    	var blankImports []ast.Spec // _ imports
    
    	// To preserve the blank lines between groups of imports, find the
    	// start position of each group, and assign that position to all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. src/go/build/read.go

    				info.parseErr = scanner.Error{Pos: info.fset.Position(spec.Pos()), Msg: "invalid import path: " + path}
    				info.imports = nil
    				return nil
    			}
    			if path == "embed" {
    				hasEmbed = true
    			}
    
    			doc := spec.Doc
    			if doc == nil && len(d.Specs) == 1 {
    				doc = d.Doc
    			}
    			info.imports = append(info.imports, fileImport{path, spec.Pos(), doc})
    		}
    	}
    
    	// Extract directives.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    // unified IR export data decoder.
    func readUnifiedPackage(fset *token.FileSet, ctxt *types.Context, imports map[string]*types.Package, input pkgbits.PkgDecoder) *types.Package {
    	pr := pkgReader{
    		PkgDecoder: input,
    
    		fake: fakeFileSet{
    			fset:  fset,
    			files: make(map[string]*fileInfo),
    		},
    
    		ctxt:    ctxt,
    		imports: imports,
    
    		posBases: make([]string, input.NumElems(pkgbits.RelocPosBase)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/vcs/vcs.go

    		}
    		if len(imports) == 0 {
    			err = fmt.Errorf("fetching %s: no go-import meta tag found in %s", importPrefix, resp.URL)
    		}
    		return setCache(fetchResult{url: url, imports: imports, err: err})
    	})
    	res := resi.(fetchResult)
    	return res.url, res.imports, res.err
    }
    
    type fetchResult struct {
    	url     *urlpkg.URL
    	imports []metaImport
    	err     error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        }
    }
    
    
    interface TypeRefContext {
        fun resolveRef(dataTypeRef: DataTypeRef): DataType
    }
    
    
    interface AnalysisContextView : TypeRefContext {
        val schema: AnalysisSchema
        val imports: Map<String, FqName>
        val currentScopes: List<AnalysisScopeView>
        val assignments: List<AssignmentRecord>
    }
    
    
    class SchemaTypeRefContext(val schema: AnalysisSchema) : TypeRefContext {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top