Home
last modified time | relevance | path

Searched full:comments (Results 1 – 25 of 5424) sorted by relevance

12345678910>>...217

/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/
Dcomment_attribution_scenarios.story1 Scenario: A Class With Line Comments is processed by the Java Parser
4 package japa.parser.comments;
17 Then the compilation unit has 0 orphan comments
18 Then class 1 has 4 total contained comments
19 Then method 1 in class 1 has 4 total contained comments
20 Then method 1 in class 1 has 0 orphan comments
21 Then block statement in method 1 in class 1 has 4 total contained comments
22 Then block statement in method 1 in class 1 has 3 orphan comments
26 Scenario: A Class With Line Comments is processed by the Java Parser
29 package japa.parser.comments;
[all …]
Dcomment_parsing_scenarios.story1 Scenario: A Class With Line Comments is processed by the Comments Parser
4 package japa.parser.comments;
16 Then the total number of comments is 4
21 Then the line comments have the following positions:
28 Scenario: A Class With Block Comments is processed by the Comments Parser
31 package japa.parser.comments;
49 Then the total number of comments is 5
55 Then the block comments have the following positions:
64 Scenario: A Class With Javadoc Comments is processed by the Comments Parser
67 package japa.parser.comments;
[all …]
/external/zstd/contrib/gen_html/
Dgen_html.cpp29 /* trim C++ style comments */
64 /* print line with ZSTDLIB_API removed and C++ comments not bold */
84 vector<string> input, lines, comments, chapters; in main() local
128 …/* comments of type /**< and /*!< are detected and only function declaration is highlighted (bold)… in main()
151 comments = get_lines(input, linenum, "*/"); in main()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
153 …if (!comments.empty()) comments[comments.size()-1] = comments[comments.size()-1].substr(0, comment… in main()
154 for (l=0; l<comments.size(); l++) { in main()
155 if (comments[l].find(" *")==0) comments[l] = comments[l].substr(2); in main()
156 else if (comments[l].find(" *")==0) comments[l] = comments[l].substr(3); in main()
[all …]
/external/lz4/contrib/gen_manual/
Dgen_manual.cpp54 /* trim C++ style comments */
88 /* print line with LZ4LIB_API removed and C++ comments not bold */
109 vector<string> input, lines, comments, chapters; in main() local
153 …/* comments of type / * * < and / * ! < are detected, and only function declaration is highligh… in main()
177 comments = get_lines(input, linenum, "*/"); in main()
178 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
179 if (!comments.empty()) in main()
180comments[comments.size()-1] = comments[comments.size()-1].substr(0, comments[comments.size()-1].fi… in main()
181 for (l=0; l<comments.size(); l++) { in main()
182 if (comments[l].compare(0, 2, " *") == 0) in main()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_comments_CommentsCollection.txt2 [ Class com.github.javaparser.ast.comments.CommentsCollection ]
4 … LinkedList<LineComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.LineComment>
5 …inkedList<BlockComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.BlockComment>
6 …dList<JavadocComment>() ==> java.util.LinkedList<com.github.javaparser.ast.comments.JavadocComment>
7 Line 36) lineComments ==> java.util.List<com.github.javaparser.ast.comments.LineComment>
8 Line 40) blockComments ==> java.util.List<com.github.javaparser.ast.comments.BlockComment>
9 Line 44) javadocComments ==> java.util.List<com.github.javaparser.ast.comments.JavadocComment>
13 Line 60) Comment c ==> com.github.javaparser.ast.comments.Comment
14 Line 60) getAll() ==> java.util.List<com.github.javaparser.ast.comments.Comment>
18 …Line 74) List<Comment> comments = new LinkedList<Comment>() ==> java.util.List<com.github.javapars…
[all …]
Dcom_github_javaparser_ast_comments_CommentsParser.txt2 [ Class com.github.javaparser.ast.comments.CommentsParser ]
7 …Line 45) parse(in, Charset.defaultCharset().name()) ==> com.github.javaparser.ast.comments.Comment…
12 …Line 51) CommentsCollection comments = new CommentsCollection() ==> com.github.javaparser.ast.comm…
13 Line 51) new CommentsCollection() ==> com.github.javaparser.ast.comments.CommentsCollection
17 Line 56) State state = State.CODE ==> com.github.javaparser.ast.comments.CommentsParser.State
18 Line 56) State.CODE ==> com.github.javaparser.ast.comments.CommentsParser.State
19 Line 57) LineComment currentLineComment = null ==> com.github.javaparser.ast.comments.LineComment
21 …Line 58) BlockComment currentBlockComment = null ==> com.github.javaparser.ast.comments.BlockComme…
37 Line 74) state ==> com.github.javaparser.ast.comments.CommentsParser.State
38 Line 75) CODE ==> com.github.javaparser.ast.comments.CommentsParser.State
[all …]
Dcom_github_javaparser_ast_visitor_CloneVisitor.txt16 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
17 Line 76) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
24 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
25 Line 89) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
36 … Comment comment = cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
37 Line 108) cloneNodes(_n.getComment(), _arg) ==> com.github.javaparser.ast.comments.Comment
40 …etEndLine(), _n.getEndColumn(), _n.getContent()) ==> com.github.javaparser.ast.comments.LineComment
41 …tEndLine(), _n.getEndColumn(), _n.getContent()) ==> com.github.javaparser.ast.comments.BlockComment
42 …t javaDoc = cloneNodes(_n.getJavaDoc(), _arg) ==> com.github.javaparser.ast.comments.JavadocComment
43 Line 125) cloneNodes(_n.getJavaDoc(), _arg) ==> com.github.javaparser.ast.comments.JavadocComment
[all …]
/external/clang/test/Index/
Dannotate-comments.cpp85 * but we need more multi-line comments. */
86 /// This comment comes before my other comments
267 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
273 // Declarations without Doxygen comments should not pick up some Doxygen comments.
277 // Non-Doxygen comments should not be attached to anything.
280 // Some Doxygen comments are not attached to anything.
283 // Ensure we don't pick up extra comments.
294 // checks that documentation comments are attached to declarations correctly.
296 // documentation comments will only test a single code path.
298 // CHECK: annotate-comments.cpp:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE
[all …]
Dparse-all-comments.c76 // RUN: c-index-test -write-pch %t/out.pch -fparse-all-comments -x c++ -std=c++11 %s
78 …est -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -st…
90 // CHECK: parse-all-comments.c:7:6: FunctionDecl=notdoxy1:{{.*}} notdoxy1 NOT_DOXYGEN
91 // CHECK: parse-all-comments.c:10:6: FunctionDecl=notdoxy2:{{.*}} notdoxy2 NOT_DOXYGEN
92 // CHECK: parse-all-comments.c:13:6: FunctionDecl=notdoxy3:{{.*}} notdoxy3 NOT_DOXYGEN
93 // CHECK: parse-all-comments.c:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE
94 // CHECK: parse-all-comments.c:19:6: FunctionDecl=isdoxy5:{{.*}} isdoxy5 IS_DOXYGEN_SINGLE
95 // CHECK: parse-all-comments.c:22:6: FunctionDecl=isdoxy6:{{.*}} isdoxy6 IS_DOXYGEN_SINGLE
96 // CHECK: parse-all-comments.c:29:6: FunctionDecl=multi_line_comment_plus_ordinary:{{.*}} BLOCK_ORD…
97 // CHECK: parse-all-comments.c:34:6: FunctionDecl=multi_line_comment_empty_line:{{.*}} MULTILINE CO…
[all …]
Dannotate-comments-objc.m16 // Check that we attach comments to properties correctly.
37 // Check that we attach comments to enums declared using the NS_ENUM macro.
45 // In the implementation of attaching comments to enums declared using the
48 // attach unrelated comments in the following cases where tag decls are
73 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
74 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-s…
81 // Declarations without Doxygen comments should not pick up some Doxygen comments.
85 // Non-Doxygen comments should not be attached to anything.
88 // Some Doxygen comments are not attached to anything.
91 // Ensure we don't pick up extra comments.
[all …]
/external/jdiff/src/jdiff/
DComments.java16 * Creates a Comments from an XML file. The Comments object is the internal
17 * representation of the comments for the changes.
18 * All methods in this class for populating a Comments object are static.
23 public class Comments { class
26 * All the possible comments known about, accessible by the commentID.
30 /** The old Comments object which is populated from the file read in. */
31 private static Comments oldComments_ = null;
34 public Comments() { in Comments() method in Comments
38 // The list of comments elements associated with this objects
42 * Read the file where the XML for comments about the changes between
[all …]
/external/libxml2/result/noent/
Dslashdot16.xml10 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>20</comments>
65 <comments>12</comments>
76 <comments>10</comments>
87 <comments>385</comments>
98 <comments>164</comments>
109 <comments>48</comments>
[all …]
Dslashdot.xml10 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>164</comments>
65 <comments>48</comments>
76 <comments>66</comments>
87 <comments>217</comments>
98 <comments>16</comments>
109 <comments>155</comments>
/external/cronet/third_party/libxml/fuzz/seed_corpus/
D5b3fdf55aa19abd6531bcff7b036b925eedf1cb310 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>20</comments>
65 <comments>12</comments>
76 <comments>10</comments>
87 <comments>385</comments>
98 <comments>164</comments>
109 <comments>48</comments>
[all …]
Df26b7b6046881d29051125a558146bad500d9ea99 <comments>20</comments>
20 <comments>12</comments>
31 <comments>10</comments>
42 <comments>385</comments>
53 <comments>164</comments>
64 <comments>48</comments>
75 <comments>66</comments>
86 <comments>217</comments>
97 <comments>16</comments>
108 <comments>155</comments>
/external/libxml2/result/
Dslashdot16.xml10 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>20</comments>
65 <comments>12</comments>
76 <comments>10</comments>
87 <comments>385</comments>
98 <comments>164</comments>
109 <comments>48</comments>
[all …]
Dslashdot.xml10 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>164</comments>
65 <comments>48</comments>
76 <comments>66</comments>
87 <comments>217</comments>
98 <comments>16</comments>
109 <comments>155</comments>
/external/libxml2/test/
Dslashdot16.xml10 <comments>20</comments>
21 <comments>12</comments>
32 <comments>10</comments>
43 <comments>385</comments>
54 <comments>20</comments>
65 <comments>12</comments>
76 <comments>10</comments>
87 <comments>385</comments>
98 <comments>164</comments>
109 <comments>48</comments>
[all …]
Dslashdot.xml9 <comments>20</comments>
20 <comments>12</comments>
31 <comments>10</comments>
42 <comments>385</comments>
53 <comments>164</comments>
64 <comments>48</comments>
75 <comments>66</comments>
86 <comments>217</comments>
97 <comments>16</comments>
108 <comments>155</comments>
/external/licenseclassifier/commentparser/
Dcomment_parser_test.go38 want Comments
41 description: "BCPL Single Line Comments",
140 description: "Lisp Single Line Comments",
152 description: "Shell Single Line Comments",
164 description: "BCPL Multiline Comments",
176 description: "BCPL Multiline Comments no terminating newline",
188 description: "Nested Multiline Comments",
200 description: "Ruby Multiline Comments",
212 description: "Multiple Single Line Comments",
237 description: "Mixed Multiline / Single Line Comments",
[all …]
Dcomment_parser.go16 // of the comments from the code. This is useful for when you want to analyze
17 // text written in comments (like copyright notices) but not in the code
35 // Parse parses the input data and returns the comments.
36 func Parse(contents []byte, lang language.Language) Comments {
53 return i.comments
64 // Comments allows us to treat a slice of comments as a unit.
65 type Comments []*Comment type
67 // ChunkIterator returns a read-only channel and generates the comments in a
69 func (c Comments) ChunkIterator() <-chan Comments {
70 ch := make(chan Comments)
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_comments_CommentsCollection.txt1 …Line 41) comments.addAll(commentsToCopy) ==> java.util.TreeSet.addAll(java.util.Collection<? exten…
2 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineC…
3 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment).map(comment -> (LineC…
4 …Line 45) comments.stream().filter(comment -> comment instanceof LineComment) ==> java.util.stream.…
5 Line 45) comments.stream() ==> java.util.Collection.stream()
7 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment).map(comment -> (Bloc…
8 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment).map(comment -> (Bloc…
9 …Line 52) comments.stream().filter(comment -> comment instanceof BlockComment) ==> java.util.stream…
10 Line 52) comments.stream() ==> java.util.Collection.stream()
12 …Line 59) comments.stream().filter(comment -> comment instanceof JavadocComment).map(comment -> (Ja…
[all …]
/external/cronet/third_party/icu/source/test/testdata/
Dra.txt11 * These are top level comments for the bundle. Tag name: ra
13 * @note Comments for tag named ra
17 * Top level comments for the string.Tag name: test1
31 * Top level comments for TestTable. Tag name: TestTable
62 * Top level comments for Tag name: TestArray
68 * comments for un-named string
74 * comments for un-named int
80 * comments for un-named binary
88 * comments for TestInclude
95 * comments for TestImport
[all …]
/external/icu/icu4c/source/test/testdata/
Dra.txt11 * These are top level comments for the bundle. Tag name: ra
13 * @note Comments for tag named ra
17 * Top level comments for the string.Tag name: test1
31 * Top level comments for TestTable. Tag name: TestTable
62 * Top level comments for Tag name: TestArray
68 * comments for un-named string
74 * comments for un-named int
80 * comments for un-named binary
88 * comments for TestInclude
95 * comments for TestImport
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/comments/
DCommentsCollection.java22 package com.github.javaparser.ast.comments;
32 * The comments contained in a certain parsed piece of source code.
35 private final TreeSet<Comment> comments = new TreeSet<>(NODE_BY_BEGIN_POSITION); field in CommentsCollection
41 comments.addAll(commentsToCopy); in CommentsCollection()
45 return comments.stream() in getLineComments()
52 return comments.stream() in getBlockComments()
59 return comments.stream() in getJavadocComments()
66 comments.add(comment); in addComment()
84 return comments; in getComments()
88 return comments.size(); in size()
[all …]

12345678910>>...217