Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for classMethods (0.1 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

                builder.build(doc)
                doc
            }
    
            then:
            doc.classMethods.size() == 6
    
            doc.classMethods[0].name == 'a'
            doc.classMethods[1].name == 'b'
            doc.classMethods[2].name == 'b'
            doc.classMethods[3].name == 'c'
            doc.classMethods[4].name == 'd'
            doc.classMethods[5].name == 'e'
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodsRenderer.java

            Element title = document.createElement("title");
            summarySection.appendChild(title);
            title.appendChild(document.createTextNode("Methods"));
    
            Collection<MethodDoc> classMethods = classDoc.getClassMethods();
    
            if (!classMethods.isEmpty()) {
                Element table = document.createElement("table");
                summarySection.appendChild(table);
    
                title = document.createElement("title");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassProperty(PropertyDoc propertyDoc) {
            classProperties.add(propertyDoc.forClass(this))
        }
    
        Collection<MethodDoc> getClassMethods() { return classMethods }
    
        void addClassMethod(MethodDoc methodDoc) {
            classMethods.add(methodDoc.forClass(this))
        }
    
        Collection<BlockDoc> getClassBlocks() { return classBlocks }
    
        void addClassBlock(BlockDoc blockDoc) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                </chapter>
            ''')
    
            ClassDoc classDoc = classDoc('org.gradle.Class', id: 'classId', content: sourceContent, comment: 'class comment')
            _ * classDoc.classProperties >> []
            _ * classDoc.classMethods >> []
            _ * classDoc.classBlocks >> []
            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<root/>')
            withCategories {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassExtensionDoc.groovy

            }
            return properties.sort { it.name }
        }
    
        List<MethodDoc> getExtensionMethods() {
            List<MethodDoc> methods = []
            mixinClasses.each { mixin ->
                mixin.classMethods.each { method ->
                    methods << method.forClass(targetClass)
                }
            }
            return methods.sort { it.metaData.overrideSignature }
        }
    
        List<BlockDoc> getExtensionBlocks() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                def linkMetaData = linkRepository.get(classDoc.name)
                linkMetaData.style = LinkMetaData.Style.Dsldoc
                classDoc.classMethods.each { methodDoc ->
                    linkMetaData.addMethod(methodDoc.metaData, LinkMetaData.Style.Dsldoc)
                }
                classDoc.classBlocks.each { blockDoc ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  7. fastapi/datastructures.py

            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().close()
    
        @classmethod
        def __get_validators__(cls: Type["UploadFile"]) -> Iterable[Callable[..., Any]]:
            yield cls.validate
    
        @classmethod
        def validate(cls: Type["UploadFile"], v: Any) -> Any:
            if not isinstance(v, StarletteUploadFile):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. fastapi/openapi/models.py

        from pydantic import EmailStr
    except ImportError:  # pragma: no cover
    
        class EmailStr(str):  # type: ignore
            @classmethod
            def __get_validators__(cls) -> Iterable[Callable[..., Any]]:
                yield cls.validate
    
            @classmethod
            def validate(cls, v: Any) -> str:
                logger.warning(
                    "email-validator not installed, email fields will be treated as str.\n"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. docs/sts/client_grants/sts_element.py

        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
        def fromstring(cls, root_name, data):
            """Initialize STSElement from name and XML string data.
    
            :param name: Name for XML data. Used in XML errors.
            :param data: string data to be parsed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top