Searched refs:Comment (Results 1 - 25 of 102) sorted by relevance

12345

/external/webkit/Source/WebCore/dom/
H A DComment.idl22 interface Comment : CharacterData {
H A DComment.cpp23 #include "Comment.h"
29 inline Comment::Comment(Document* document, const String& text) function in class:WebCore::Comment
34 PassRefPtr<Comment> Comment::create(Document* document, const String& text)
36 return adoptRef(new Comment(document, text));
39 String Comment::nodeName() const
44 Node::NodeType Comment::nodeType() const
49 PassRefPtr<Node> Comment::cloneNode(bool /*deep*/)
54 bool Comment
[all...]
H A DComment.h30 class Comment : public CharacterData { class in namespace:WebCore
32 static PassRefPtr<Comment> create(Document*, const String&);
35 Comment(Document*, const String&);
/external/clang/tools/libclang/
H A DCXComment.h20 #include "clang/AST/Comment.h"
31 inline CXComment createCXComment(const comments::Comment *C,
39 inline const comments::Comment *getASTNode(CXComment CXC) {
40 return static_cast<const comments::Comment *>(CXC.ASTNode);
45 const comments::Comment *C = getASTNode(CXC);
H A DCXComment.cpp37 const Comment *C = getASTNode(CXC);
42 case Comment::NoCommentKind:
45 case Comment::TextCommentKind:
48 case Comment::InlineCommandCommentKind:
51 case Comment::HTMLStartTagCommentKind:
54 case Comment::HTMLEndTagCommentKind:
57 case Comment::ParagraphCommentKind:
60 case Comment::BlockCommandCommentKind:
63 case Comment::ParamCommandCommentKind:
66 case Comment
[all...]
/external/clang/lib/AST/
H A DRawCommentList.cpp12 #include "clang/AST/Comment.h"
24 std::pair<RawComment::CommentKind, bool> getCommentKind(StringRef Comment) { argument
25 if (Comment.size() < 3 || Comment[0] != '/')
29 if (Comment[1] == '/') {
30 if (Comment.size() < 3)
33 if (Comment[2] == '/')
35 else if (Comment[2] == '!')
40 assert(Comment.size() >= 4);
42 // Comment lexe
60 mergedCommentIsTrailingComment(StringRef Comment) argument
[all...]
H A DComment.cpp1 //===--- Comment.cpp - Comment AST node implementation --------------------===//
11 #include "clang/AST/Comment.h"
21 const char *Comment::getCommentKindName() const {
35 void Comment::dump() const {
36 // It is important that Comment::dump() is defined in a different TU than
37 // Comment::dump(raw_ostream, SourceManager). If both functions were defined
44 void Comment::dump(const ASTContext &Context) const {
54 good implements_child_begin_end(Comment::child_iterator (T::*)() const) {
59 Comment
[all...]
H A DCommentDumper.cpp1 //===--- CommentDumper.cpp - Dumping implementation for Comment ASTs ------===//
40 void dumpSourceRange(const Comment *C);
42 void dumpComment(const Comment *C);
44 void dumpSubtree(const Comment *C);
73 void CommentDumper::dumpSourceRange(const Comment *C) {
88 void CommentDumper::dumpComment(const Comment *C) {
95 void CommentDumper::dumpSubtree(const Comment *C) {
99 for (Comment::child_iterator I = C->child_begin(),
235 void Comment::dump(llvm::raw_ostream &OS, const CommandTraits *Traits,
/external/v8/src/
H A Dmacro-assembler.h135 class Comment { class in namespace:v8::internal
137 Comment(MacroAssembler* masm, const char* msg);
138 ~Comment();
147 class Comment { class in namespace:v8::internal
149 Comment(MacroAssembler*, const char*) {} function in class:v8::internal::Comment
H A Dcodegen.cc46 Comment::Comment(MacroAssembler* masm, const char* msg) function in class:v8::internal::Comment
52 Comment::~Comment() {
H A Dfull-codegen.cc815 Comment cmnt(masm_, "[ Comma");
823 Comment cmnt(masm_, is_logical_and ? "[ Logical AND" : "[ Logical OR");
892 Comment cmnt(masm_, "[ ArithmeticExpression");
913 Comment cmnt(masm_, "[ Block");
920 { Comment cmnt(masm_, "[ Extend block context");
937 { Comment cmnt(masm_, "[ Declarations");
958 Comment cmnt(masm_, "[ ExpressionStatement");
965 Comment cmnt(masm_, "[ EmptyStatement");
971 Comment cmnt(masm_, "[ IfStatement");
999 Comment cmn
[all...]
/external/doclava/src/com/google/doclava/
H A DDocInfo.java53 mComment = new Comment(mRawCommentText, parent(), mPosition);
58 public Comment comment() {
60 mComment = new Comment(mRawCommentText, parent(), mPosition);
74 mComment = new Comment(mRawCommentText, parent(), mPosition);
114 Comment mComment;
H A DAttributeInfo.java36 private Comment mComment;
59 public Comment comment() {
62 Comment c = attr.description();
70 return new Comment("", mClass, SourcePositionInfo.UNKNOWN);
H A DParsedTagInfo.java24 private Comment mComment;
34 mComment = new Comment(mCommentText, mContainer, position());
H A DAttrTagInfo.java42 private Comment mDescrComment;
86 mDescrComment = new Comment(more, base, position);
101 public Comment description() {
/external/clang/include/clang/AST/
H A DCommentVisitor.h1 //===--- CommentVisitor.h - Visitor for Comment subclasses ------*- C++ -*-===//
10 #include "clang/AST/Comment.h"
26 RetTy visit(PTR(Comment) C) {
34 case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);
50 RetTy visitComment(PTR(Comment) C) { return RetTy(); }
H A DComment.h1 //===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===//
32 class Comment { class in namespace:clang::comments
41 friend class Comment;
159 Comment(CommentKind K, function in class:clang::comments::Comment
177 static bool classof(const Comment *) { return true; }
191 typedef Comment * const *child_iterator;
205 class InlineContentComment : public Comment {
210 Comment(K, LocBegin, LocEnd) {
215 static bool classof(const Comment *
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DCSSPreloadScanner.h50 Comment, enumerator in enum:WebCore::CSSPreloadScanner::State
H A DCSSPreloadScanner.cpp78 m_state = Comment;
82 case Comment:
92 m_state = Comment;
/external/clang/include/clang-c/
H A DIndex.h3199 * \defgroup CINDEX_COMMENT Comment AST introspection
3367 * \param Comment AST node of any kind.
3371 CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
3374 * \param Comment AST node of any kind.
3378 CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
3381 * \param Comment AST node of any kind.
3388 CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
3397 * \returns non-zero if \c Comment is whitespace.
3399 CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
3402 * \returns non-zero if \c Comment i
[all...]
/external/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp15 struct Comment { struct in namespace:clang
16 Comment(const std::string &Message, unsigned Line, unsigned Col) function in struct:clang::Comment
24 typedef std::vector<Comment> CommentList;
52 Comments.push_back(Comment(C, CLine, CCol));
109 EXPECT_TRUE(Current != End) << "Comment " << Message << " not found";
112 const Comment &C = *Current;
/external/clang/unittests/AST/
H A DCommentParser.cpp1 //===- unittests/AST/CommentParser.cpp ------ Comment parser tests --------===//
13 #include "clang/AST/Comment.h"
79 ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) {
81 return ::testing::AssertionFailure() << "Comment is NULL";
92 ::testing::AssertionResult GetChildAt(const Comment *C,
96 return ::testing::AssertionFailure() << "Comment is NULL";
103 Comment::child_iterator I = C->child_begin() + Idx;
104 Comment *CommentChild = *I;
117 ::testing::AssertionResult HasTextAt(const Comment *C,
138 ::testing::AssertionResult HasTextWithNewlineAt(const Comment *
[all...]
/external/clang/tools/c-index-test/
H A Dc-index-test.c282 CXComment Comment) {
285 enum CXCommentKind Kind = clang_Comment_getKind(Comment);
299 clang_TextComment_getText(Comment));
300 if (clang_Comment_isWhitespace(Comment))
302 if (clang_InlineContentComment_hasTrailingNewline(Comment))
309 clang_InlineCommandComment_getCommandName(Comment));
310 switch (clang_InlineCommandComment_getRenderKind(Comment)) {
324 for (i = 0, e = clang_InlineCommandComment_getNumArgs(Comment);
328 clang_InlineCommandComment_getArgText(Comment, i));
330 if (clang_InlineContentComment_hasTrailingNewline(Comment))
281 DumpCXCommentInternal(struct CommentASTDumpingContext *Ctx, CXComment Comment) argument
456 DumpCXComment(CXComment Comment) argument
539 CXComment Comment = clang_Cursor_getParsedComment(Cursor); local
[all...]
/external/chromium/chrome/browser/ui/window_snapshot/
H A Dwindow_snapshot_win.cc66 std::vector<gfx::PNGCodec::Comment>(),
/external/llvm/utils/vim/
H A Dtablegen.vim44 HiLink tgComment Comment
45 HiLink tgComment2 Comment

Completed in 428 milliseconds

12345