Home
last modified time | relevance | path

Searched refs:commentText (Results 1 – 8 of 8) sorted by relevance

/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
DGeneratedJavaParserTokenManagerBase.java28 String commentText = token.image; in createCommentFromToken() local
30 … return new JavadocComment(tokenRange(token), commentText.substring(3, commentText.length() - 2)); in createCommentFromToken()
32 … return new BlockComment(tokenRange(token), commentText.substring(2, commentText.length() - 2)); in createCommentFromToken()
36 while (commentText.endsWith("\r") || commentText.endsWith("\n")) { in createCommentFromToken()
37 commentText = commentText.substring(0, commentText.length() - 1); in createCommentFromToken()
39 range = range.withEnd(pos(range.begin.line, range.begin.column + commentText.length())); in createCommentFromToken()
40 LineComment comment = new LineComment(tokenRange(token), commentText.substring(2)); in createCommentFromToken()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DReplaceTextCommentScanner.java35 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { in processComment() argument
36 String newCommentText = commentText.replace(oldText, newText); in processComment()
37 if (newCommentText.equals(commentText)) { in processComment()
DBaseModifyCommentScanner.java44 String commentText = document.get(comment.getStartPosition(), comment.getLength()); in process() local
45 String newCommentText = processComment(reporter, comment, commentText); in process()
61 String commentText); in processComment() argument
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DCheckForBrokenJciteTag.java45 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { in processComment() argument
47 && commentText.contains(TranslateJcite.ESCAPED_JCITE_TAG)) { in processComment()
54 commentNode, "Escaped JCITE tag found in public API docs:" + commentText); in processComment()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParserTokenManager.java48 String commentText = token.image; in CommonTokenAction() local
49 if (commentText.startsWith("/**")) { in CommonTokenAction()
50 …ocComment comment = new JavadocComment(tokenRange(token), commentText.substring(3, commentText.len… in CommonTokenAction()
52 } else if (commentText.startsWith("/*")) { in CommonTokenAction()
53 …lockComment comment = new BlockComment(tokenRange(token), commentText.substring(2, commentText.len… in CommonTokenAction()
55 } else if (commentText.startsWith("//")) { in CommonTokenAction()
58 while (commentText.endsWith("\r") || commentText.endsWith("\n")) { in CommonTokenAction()
59 commentText = commentText.substring(0, commentText.length() - 1); in CommonTokenAction()
61 … range = range.withEnd(pos(range.begin.line, range.begin.column + commentText.length())); in CommonTokenAction()
62 LineComment comment = new LineComment(tokenRange(token), commentText.substring(2)); in CommonTokenAction()
[all …]
/external/doclava/src/com/google/doclava/
DDocFile.java164 String commentText = filedata.substring(start); in writePage() local
166 Comment comment = new Comment(commentText, null, new SourcePositionInfo(docfile, lineno, 1)); in writePage()
171 hdf.setValue("commentText", commentText); in writePage()
DInfoBuilder.java556 String commentText, SourcePositionInfo position, ClassType classType) { in buildClassName() argument
597 cls.initialize(commentText, position, in buildClassName()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DTranslateJcite.java66 protected String processComment(Reporter reporter, Comment commentNode, String commentText) { in processComment() argument
70 Matcher matcher = JCITE_TAG_PATTERN.matcher(commentText); in processComment()