Home
last modified time | relevance | path

Searched refs:LineComment (Results 1 – 25 of 101) sorted by relevance

12345

/external/clang/include/clang/Frontend/
DLangStandards.def47 LineComment | C89 | Digraphs | GNUMode | ImplicitInt)
50 LineComment | C89 | Digraphs | GNUMode | ImplicitInt)
55 LineComment | C99 | Digraphs | HexFloat)
58 LineComment | C99 | Digraphs | HexFloat)
61 LineComment | C99 | Digraphs | HexFloat)
64 LineComment | C99 | Digraphs | HexFloat)
68 LineComment | C99 | Digraphs | GNUMode | HexFloat)
71 LineComment | C99 | Digraphs | GNUMode | HexFloat)
76 LineComment | C99 | C11 | Digraphs | HexFloat)
79 LineComment | C99 | C11 | Digraphs | HexFloat)
[all …]
DLangStandard.h21 LineComment = (1 << 0), enumerator
59 bool hasLineComments() const { return Flags & frontend::LineComment; } in hasLineComments()
/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/comment/
DCommentComposer.java19 import com.google.api.generator.engine.ast.LineComment;
53 CommentStatement.withComment(LineComment.withComment(AUTO_GENERATED_CLASS_DISCLAIMER_STRING));
57 LineComment.withComment(AUTO_GENERATED_METHOD_DISCLAIMER_STRING));
62 LineComment.withComment(
65 LineComment.withComment("It will require modifications to work:")),
67 LineComment.withComment(
70 LineComment.withComment(
73 LineComment.withComment(
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/
DLineComment.java43 public class LineComment extends Comment { class
45 public LineComment() { in LineComment() method in LineComment
50 public LineComment(String content) { in LineComment() method in LineComment
58 public LineComment(TokenRange tokenRange, String content) { in LineComment() method in LineComment
91 public LineComment clone() { in clone()
92 return (LineComment) accept(new CloneVisitor(), null); in clone()
111 public LineComment asLineComment() { in asLineComment()
116 public void ifLineComment(Consumer<LineComment> action) { in ifLineComment()
122 public Optional<LineComment> toLineComment() { in toLineComment()
DCommentsCollection.java46 public Set<LineComment> getLineComments() { in getLineComments()
48 .filter(comment -> comment instanceof LineComment) in getLineComments()
49 .map(comment -> (LineComment) comment) in getLineComments()
DComment.java99 public LineComment asLineComment() { in asLineComment()
222 public void ifLineComment(Consumer<LineComment> action) { in ifLineComment()
236 public Optional<LineComment> toLineComment() { in toLineComment()
/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/
DLineComment.java21 public abstract class LineComment implements Comment { class
34 public static LineComment withComment(String comment) { in withComment()
35 return LineComment.builder().setComment(comment).build(); in withComment()
44 public abstract LineComment autoBuild(); in autoBuild()
46 public LineComment build() { in build()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/comments/
DLineComment.java36 public final class LineComment extends Comment { class
38 public LineComment() { in LineComment() method in LineComment
41 public LineComment(String content) { in LineComment() method in LineComment
45 public LineComment(Range range, String content) { in LineComment() method in LineComment
DCommentsCollection.java44 public Set<LineComment> getLineComments() { in getLineComments()
46 .filter(comment -> comment instanceof LineComment) in getLineComments()
47 .map(comment -> (LineComment) comment) in getLineComments()
DComment.java77 public LineComment asLineComment() { in asLineComment()
79 return (LineComment) this; in asLineComment()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/comments/
DLineComment.java35 public final class LineComment extends Comment { class
37 public LineComment() { in LineComment() method in LineComment
40 public LineComment(String content) { in LineComment() method in LineComment
44 public LineComment(int beginLine, int beginColumn, int endLine, int endColumn, String content) { in LineComment() method in LineComment
DCommentsCollection.java31 private List<LineComment> lineComments = new LinkedList<LineComment>();
35 public List<LineComment> getLineComments(){ in getLineComments()
47 public void addComment(LineComment lineComment){ in addComment()
87 for (LineComment comment : lineComments){ in minus()
DComment.java75 public LineComment asLineComment() in asLineComment()
79 return (LineComment) this; in asLineComment()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_comments_CommentsCollection.txt4 …Line 31) new LinkedList<LineComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments…
7 Line 36) lineComments ==> java.util.List<com.github.javaparser.ast.comments.LineComment>
27 Line 87) LineComment comment ==> com.github.javaparser.ast.comments.LineComment
28 Line 87) lineComments ==> java.util.List<com.github.javaparser.ast.comments.LineComment>
Dcom_github_javaparser_ast_comments_Comment.txt16 Line 79) (LineComment) this ==> com.github.javaparser.ast.comments.LineComment
Dcom_github_javaparser_ast_comments_CommentsParser.txt19 Line 57) LineComment currentLineComment = null ==> com.github.javaparser.ast.comments.LineComment
40 Line 77) currentLineComment = new LineComment() ==> com.github.javaparser.ast.comments.LineComment
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_comments_LineComment.txt1 …thub.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.comments.LineComment, A)
2 ….github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.comments.LineComment, A)
Dcom_github_javaparser_ast_comments_CommentsCollection.txt2 … comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineComment) …
3 … comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineComment) …
4 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment) ==> java.util.stream.…
/external/bazelbuild-rules_rust/crate_universe/src/utils/starlark/
Dselect.rs5 use serde_starlark::LineComment;
27 LineComment::new(&self.value, &comment).serialize(serializer) in serialize()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/comments/
DCommentTest.java45 Comment c = new LineComment("A comment"); in removeOrphanComment()
55 Comment c = new LineComment("A comment"); in removeAssociatedComment()
64 Comment c = new LineComment("A comment"); in cannotRemoveCommentNotUsedAnywhere()
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
DGeneratedJavaParserTokenManagerBase.java6 import com.github.javaparser.ast.comments.LineComment;
33 return new LineComment(tokenRange(token), commentText.substring(2)); in createCommentFromToken()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmComment.java28 import com.github.javaparser.ast.comments.LineComment;
43 } else if (comment instanceof LineComment) { in process()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/nodeTypes/
DNodeWithJavadocTest.java28 import com.github.javaparser.ast.comments.LineComment;
46 decl.setComment(new LineComment("A comment")); in removeJavaDocNegativeCaseCommentNotJavaDoc()
/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/
DServiceClientCallableMethodSampleComposer.java31 import com.google.api.generator.engine.ast.LineComment;
99 bodyStatements.add(CommentStatement.withComment(LineComment.withComment("Do something."))); in composeUnaryOrLroCallableSample()
204 LineComment.withComment("doThingsWith(element);")))) in composePagedCallableSample()
364 bodyStatements.add(CommentStatement.withComment(LineComment.withComment("Do something."))); in composeLroCallableMethod()
498 bodyStatements.add(CommentStatement.withComment(LineComment.withComment("Do something."))); in composePagedCallableMethod()
519 CommentStatement.withComment(LineComment.withComment("doThingsWith(element);")); in composePagedCallableMethod()
726 LineComment.withComment("Do something when a response is received.")))) in composeStreamServerSample()
808 LineComment.withComment("Do something when a response is received.")))) in composeStreamBidiSample()
855 LineComment.withComment("Do something when a response is received.")))) in composeStreamClientSample()
876 CommentStatement.withComment(LineComment.withComment("Add error-handling")))) in composeStreamClientSample()
[all …]
/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/model/
DRegionTag.java18 import com.google.api.generator.engine.ast.LineComment;
158 LineComment.withComment("[" + regionTagRegion.name() + " " + regionTagContent + "]")); in generateTag()

12345