Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,203 for enclosing (0.17 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    	"sort"
    )
    
    // PathEnclosingInterval returns the node that encloses the source
    // interval [start, end), and all its ancestors up to the AST root.
    //
    // The definition of "enclosing" used by this function considers
    // additional whitespace abutting a node to be enclosed by it.
    // In this example:
    //
    //	z := x + y // add them
    //	     <-A->
    //	    <----B----->
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/compilerPluginUsage.txt

    public final class CodeFragment$run$Bar {
        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Bar Bar
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
    }
    
    public class CodeFragment$run$Foo {
        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 707 bytes
    - Viewed (0)
  3. src/go/types/labels.go

    			check.softErrorf(lbl, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                      // enclosing block
    	lstmt  *ast.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*ast.LabeledStmt // allocated lazily
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/branches.go

    	continues *ForStmt // or nil
    	caseIndex int      // case index of immediately enclosing switch statement, or < 0
    }
    
    // blockBranches processes a block's body starting at start and returns the
    // list of unresolved (forward) gotos. parent is the immediately enclosing
    // block (or nil), ctxt provides information about the enclosing statements,
    // and lstmt is the labeled statement associated with this block, or nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/labels.go

    			check.softErrorf(lbl.pos, UnusedLabel, "label %s declared and not used", lbl.name)
    		}
    	}
    }
    
    // A block tracks label declarations in a block and its enclosing blocks.
    type block struct {
    	parent *block                         // enclosing block
    	lstmt  *syntax.LabeledStmt            // labeled statement to which this block belongs, or nil
    	labels map[string]*syntax.LabeledStmt // allocated lazily
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule.txt

    final class MainKt$ArticleScreenContent$1 {
        // source: 'main.kt'
        enclosing method MainKt.ArticleScreenContent$default(Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
        public final static field INSTANCE: MainKt$ArticleScreenContent$1
        inner (anonymous) class MainKt$ArticleScreenContent$1
        static method <clinit>(): void
        method <init>(): void
        public synthetic bridge method invoke(): java.lang.Object
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule3.txt

    final class MainKt$ArticleScreenContent$1$1 {
        // source: 'main.kt'
        enclosing method MainKt$ArticleScreenContent$1.invoke()Lkotlin/jvm/functions/Function0;
        synthetic final field $title: java.lang.String
        inner (anonymous) class MainKt$ArticleScreenContent$1
        inner (anonymous) class MainKt$ArticleScreenContent$1$1
        method <init>(p0: java.lang.String): void
        public synthetic bridge method invoke(): java.lang.Object
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/functionParamInBinaryModule2.txt

    final class MainKt$ArticleScreenContent$1 {
        // source: 'main.kt'
        enclosing method MainKt.ArticleScreenContent$default(Ljava/lang/String;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V
        public final static field INSTANCE: MainKt$ArticleScreenContent$1
        inner (anonymous) class MainKt$ArticleScreenContent$1
        static method <clinit>(): void
        method <init>(): void
        public synthetic bridge method invoke(): java.lang.Object
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 22 12:26:50 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaClassChangeIncrementalCompilationIntegrationTest.groovy

            """
    
            then:
            succeeds language.compileTaskName
            outputs.recompiledFqn("foo.Other") // should be foo.A and foo.Other
        }
    
        def "change to anonymous inner class recompiles enclosing class and consumer"() {
            def componentUnderTest = new LibWithAnonymousClasses()
            componentUnderTest.writeToProject()
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/PrecompiledScriptPluginModelCrossVersionSpec.groovy

        @LeaksFileHandles("Kotlin Compiler Daemon working directory")
        def "given a single project build, the classpath of a precompiled script plugin is the compile classpath of its enclosing source-set"() {
    
            given:
            def implementationDependency = withEmptyJar("implementation.jar")
            def classpathDependency = withEmptyJar("classpath.jar")
    
            and:
            withDefaultSettings()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top