Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for sourceLine (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/cmd/cgo/ast.go

    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    			}
    			os.Exit(2)
    		}
    		fatalf("parsing %s: %s", name, err)
    	}
    	return ast1
    }
    
    func sourceLine(n ast.Node) int {
    	return fset.Position(n.Pos()).Line
    }
    
    // ParseGo populates f with information learned from the Go source code
    // which was read from the named file. It gathers the C preamble
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            List<Error> errorsForFile = new ArrayList<>();
            File sourceFile = getReleaseNotesFile().get().getAsFile();
    
            try (BufferedReader br = new BufferedReader(new FileReader(sourceFile))) {
                String line = br.readLine();
                while (line != null) {
                    lineNumber++;
                    gatherDeadUserGuideLinksInLineReleaseNotes(sourceFile, line, lineNumber, errorsForFile);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            if (!sourceFile.name.endsWith(".java")) return emptyMap()
    
            val versionsToIncubating = mutableMapOf<Version, MutableSet<IncubatingDescription>>()
            JavaParser().parse(sourceFile).getResult().get().run {
                solver.inject(this)
                findAllIncubating()
                    .map { node ->
                        toVersionIncubating(sourceFile, node) }
                    .forEach { (version, incubating) ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String fieldName,
                String sourceHint,
                String message,
                InputLocationTracker tracker) {
            StringBuilder buffer = new StringBuilder(256);
            buffer.append('\'').append(fieldName).append('\'');
    
            if (sourceHint != null) {
                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
        private final static String TEST_INTERFACE_SIMPLE_NAME = 'ApiTest'
    
        @TempDir
        File tmp
        File sourceFile
    
        BinaryCompatibilityRepository repository
    
        def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations
        def jApiMethod = Stub(JApiMethod)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy

    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class XIncludeAwareXmlProvider {
    
        Document root
    
        Element parse(File sourceFile) {
            root = parseSourceFile(sourceFile)
            root.documentElement
        }
    
        Node emptyDoc() {
            root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument()
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

        @Input
        abstract Property<String> getVersion();
    
        @TaskAction
        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
    
            use(BuildableDOMCategory) {
                addVersionInfo(provider.document)
                transformApiLinks(provider.document)
                transformWebsiteLinks(provider.document)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. doc/go_spec.html

    declarations that declare packages whose contents it wishes to use,
    followed by a possibly empty set of declarations of functions,
    types, variables, and constants.
    </p>
    
    <pre class="ebnf">
    SourceFile = PackageClause ";" { ImportDecl ";" } { TopLevelDecl ";" } .
    </pre>
    
    <h3 id="Package_clause">Package clause</h3>
    
    <p>
    A package clause begins each source file and defines the package
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top