Home
last modified time | relevance | path

Searched refs:AidlToken (Results 1 – 4 of 4) sorted by relevance

/system/tools/aidl/
Dparser.h33 class AidlToken {
35 AidlToken(const std::string& text, android::aidl::Comments comments) in AidlToken() function
37 ~AidlToken() = default;
39 AidlToken(const AidlToken&) = delete;
40 AidlToken(AidlToken&&) = delete;
41 AidlToken& operator=(const AidlToken&) = delete;
42 AidlToken& operator=(AidlToken&&) = delete;
91 void CheckValidTypeName(const AidlToken& token, const AidlLocation& loc);
Daidl_language_l.ll69 \"([^\"]|\\.)*\" { yylval->token = new AidlToken(yytext, comments);
114 @{identifier} { yylval->token = new AidlToken(yytext + 1, comments);
119 parcelable { yylval->token = new AidlToken("parcelable", comments);
122 import { yylval->token = new AidlToken("import", comments);
124 package { yylval->token = new AidlToken("package", comments);
129 cpp_header { yylval->token = new AidlToken("cpp_header", comments);
131 ndk_header { yylval->token = new AidlToken("ndk_header", comments);
133 rust_type { yylval->token = new AidlToken("rust_type", comments);
135 const { yylval->token = new AidlToken("const", comments);
140 interface { yylval->token = new AidlToken("interface", comments);
[all …]
Daidl_language_y.yy71 AidlToken* token;
74 std::vector<std::unique_ptr<AidlToken>> *token_list;
232 : { $$ = new std::vector<std::unique_ptr<AidlToken>>(); }
242 $$ = new AidlToken($2->GetText(), $1->GetComments());
Dparser.cpp106 void Parser::CheckValidTypeName(const AidlToken& token, const AidlLocation& loc) { in CheckValidTypeName()