- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for rawCommentText (0.1 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
private String rawCommentText; private final List<String> annotationNames = new ArrayList<String>(); private String replacement; protected AbstractLanguageElement() { } protected AbstractLanguageElement(String rawCommentText) { this.rawCommentText = rawCommentText; } @Override public String getRawCommentText() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy
def respectsLineIndentation() { _ * classMetaData.rawCommentText >> ''' * x * indented ''' when: def result = parser.parse(classMetaData, listener) then: format(result.docbook).contains('x\n indented') } def removesLeadingAsterixFromEachLine() { _ * classMetaData.rawCommentText >> ''' * line 1 * line 2 ''' when:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 14.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
pos = m.end(); } } public void pushText(String rawCommentText) { if (rawCommentText == null) { return; } StringBuilder builder = new StringBuilder(); try { BufferedReader reader = new BufferedReader(new StringReader(rawCommentText)); String line; while ((line = reader.readLine()) != null) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
imports.add(importName); } public PropertyMetaData addReadableProperty(String name, TypeMetaData type, String rawCommentText, MethodMetaData getterMethod) { PropertyMetaData property = getProperty(name); property.setType(type); property.setRawCommentText(rawCommentText); property.setGetter(getterMethod); return property; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
try { String rawCommentText = classMetaData.getRawCommentText(); try { return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener); } catch (Exception e) { throw new GradleException(String.format("Could not convert javadoc comment to docbook.%nClass: %s%nComment: %s", classMetaData, rawCommentText), e); } } finally {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
String name = methodDeclaration.getNameAsString(); String rawCommentText = getJavadocComment(methodDeclaration); TypeMetaData returnType = extractTypeName(methodDeclaration.getType()); MethodMetaData methodMetaData = getCurrentClass().addMethod(name, returnType, rawCommentText); findAnnotations(methodDeclaration, methodMetaData);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java
} private final JavadocScanner scanner; BasicJavadocLexer(JavadocScanner scanner) { this.scanner = scanner; } public void pushText(String rawCommentText) { scanner.pushText(rawCommentText); } @Override public void visit(TokenVisitor visitor) { while (!scanner.isEmpty()) { if (scanner.lookingAt(START_HTML_COMMENT)) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.1K bytes - Viewed (0)