Home
last modified time | relevance | path

Searched refs:CommentType (Results 1 – 5 of 5) sorted by relevance

/system/tools/hidl/
DDocComment.h30 enum class CommentType { enum
45 CommentType type = CommentType::UNSPECIFIED);
48 CommentType type = CommentType::UNSPECIFIED);
52 void emit(Formatter& out, CommentType type = CommentType::UNSPECIFIED) const;
60 CommentType mType;
DDocComment.cpp30 DocComment::DocComment(const std::string& comment, const Location& location, CommentType type) in DocComment()
63 CommentType type) in DocComment()
72 void DocComment::emit(Formatter& out, CommentType type) const { in emit()
73 CommentType useType = type; in emit()
74 if (useType == CommentType::UNSPECIFIED) useType = mType; in emit()
75 if (useType == CommentType::UNSPECIFIED) useType = CommentType::DOC_MULTILINE; in emit()
77 bool isMultiline = useType != CommentType::SINGLELINE; in emit()
82 case CommentType::DOC_MULTILINE: in emit()
85 case CommentType::MULTILINE: in emit()
DgenerateFormattedHidl.cpp26 mHeader->emit(out, CommentType::MULTILINE); in generateFormattedHidl()
Dhidl-gen_l.ll102 CommentType::SINGLELINE));
Dhidl-gen_y.yy353 : DOC_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::DOC_MULTILINE); }
354 | MULTILINE_COMMENT { $$ = new DocComment($1, convertYYLoc(@1, ast), CommentType::MULTILINE); }