- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for typesDoc (0.12 sec)
-
src/cmd/doc/pkg.go
} } return } // findTypeSpec returns the ast.TypeSpec within the declaration that defines the symbol. // The name must match exactly. func (pkg *Package) findTypeSpec(decl *ast.GenDecl, symbol string) *ast.TypeSpec { for _, spec := range decl.Specs { typeSpec := spec.(*ast.TypeSpec) // Must succeed. if symbol == typeSpec.Name.Name { return typeSpec } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/RequestGroupingInstrumentationClassSourceGenerator.java
return new GenerationResult.CanGenerateClasses() { @Override public Collection<String> getClassNames() { return classContentByName.keySet(); } @Override public void buildType(String className, TypeSpec.Builder builder) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 08:22:43 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGeneratorHost.java
TypeSpec.Builder builder = TypeSpec.classBuilder(className); CanGenerateClasses generateType = (CanGenerateClasses) result; getOriginatingElements(generateType.getCoveredRequests()).forEach(builder::addOriginatingElement); generateType.buildType(canonicalClassName, builder); TypeSpec generatedType = builder.build();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
requests.forEach(result::add); return result; } private static TypeSpec.Builder generateInterceptorClass(String className, BytecodeInterceptorType interceptorType, CodeBlock scopes, List<CallInterceptionRequest> requests) { TypeSpec.Builder generatedClass = TypeSpec.classBuilder(className) .addAnnotation(GENERATED_ANNOTATION.asClassName())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0) -
cmd/fieldnamedocscheck/field_name_docs_check.go
"k8s.io/klog/v2" ) var ( typeSrc = flag.StringP("type-src", "s", "", "From where we are going to read the types") re = regexp.MustCompile("`(\\b\\w+\\b)`") ) // kubeTypesMap is a map from field name to its tag name and doc. type kubeTypesMap map[string]kruntime.Pair func main() { flag.Parse() if *typeSrc == "" { klog.Fatalf("Please define -s flag as it is the api type file")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 18:32:08 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGenerator.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.instrumentation.processor.codegen; import com.squareup.javapoet.TypeSpec; import org.gradle.internal.instrumentation.model.CallInterceptionRequest; import java.util.Collection; import java.util.List; public interface InstrumentationCodeGenerator {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/genswaggertypedocs/swagger_type_docs.go
typeSrc = flag.StringP("type-src", "s", "", "From where we are going to read the types") verify = flag.BoolP("verify", "v", false, "Verifies if the given type-src file has documentation for every type") ) func main() { flag.Parse() if *typeSrc == "" { klog.Fatalf("Please define -s flag as it is the source file") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Stage1BlocksAccessorClassPath.kt
fun getSourcesOutputDir(workspace: File): File = File(workspace, "sources") } internal data class ExtensionSpec( val name: String, val receiverType: TypeSpec, val returnType: TypeSpec ) internal data class TypeSpec(val sourceName: String, val internalName: InternalName) { val kmType: KmType get() = newClassTypeOf(internalName.value) } internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 18:58:57 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GenerateVersionCatalogAccessors.kt
VersionCatalogAccessor( it.name, it.publicType, ExtensionSpec(it.name, scriptHandlerScopeTypeSpec, TypeSpec(it.publicType.simpleName, it.publicType.concreteClass.internalName)), ExtensionSpec(it.name, pluginDependenciesSpecScopeTypeSpec, TypeSpec(pluginsBlockFactorySourceNameFor(it.publicType), pluginsBlockFactoryInternalNameFor(it.publicType))), ) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt
private val pluginDependenciesSpecInternalName = PluginDependenciesSpec::class.internalName internal val pluginDependenciesSpecTypeSpec = TypeSpec("PluginDependenciesSpec", pluginDependenciesSpecInternalName) internal val pluginDependencySpecTypeSpec = TypeSpec("PluginDependencySpec", pluginDependencySpecInternalName) private val pluginDependenciesSpecTypeDesc = "L$pluginDependenciesSpecInternalName;"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:28 UTC 2023 - 15.7K bytes - Viewed (0)