Lines Matching refs:new

203   { $$ = new AidlToken("cpp_header", ""); }
214 : { $$ = new std::vector<std::unique_ptr<AidlImport>>(); }
231 $$ = new AidlImport(loc(@2), $2->GetText());
240 { $$ = new AidlToken($1->GetText() + "." + $3->GetText(), $1->GetComments());
247 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>();
285 $$ = new std::vector<std::string>();
298 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments());
303 $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), "", $4);
308 … $$ = new AidlParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4->GetText());
314 $$ = new AidlStructuredParcelable(loc(@2), $2->GetText(), ps->Package(), $1->GetComments(), $4);
327 $$ = new std::vector<std::unique_ptr<AidlVariableDeclaration>>;
338 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText());
343 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText(), $4);
353 $$ = new AidlInterface(loc(@1), $2->GetText(), $1->GetComments(), false, $4, ps->Package());
358 $$ = new AidlInterface(loc(@2), $3->GetText(), $1->GetComments(), true, $5, ps->Package());
372 { $$ = new std::vector<std::unique_ptr<AidlMember>>(); }
418 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "||", std::uni…
421 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "&&", std::uni…
424 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "|" , std::uni…
427 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "^" , std::uni…
430 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "&" , std::uni…
433 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "==", std::uni…
436 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "!=", std::uni…
439 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "<" , std::uni…
442 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), ">" , std::uni…
445 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "<=", std::uni…
448 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), ">=", std::uni…
451 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "<<", std::uni…
454 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), ">>", std::uni…
457 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "+" , std::uni…
460 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "-" , std::uni…
463 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "*" , std::uni…
466 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "/" , std::uni…
469 …$$ = new AidlBinaryConstExpression(loc(@1), std::unique_ptr<AidlConstantValue>($1), "%" , std::uni…
472 $$ = new AidlUnaryConstExpression(loc(@1), "+", std::unique_ptr<AidlConstantValue>($2));
475 $$ = new AidlUnaryConstExpression(loc(@1), "-", std::unique_ptr<AidlConstantValue>($2));
478 $$ = new AidlUnaryConstExpression(loc(@1), "!", std::unique_ptr<AidlConstantValue>($2));
481 $$ = new AidlUnaryConstExpression(loc(@1), "~", std::unique_ptr<AidlConstantValue>($2));
498 $$ = new std::vector<std::unique_ptr<AidlConstantValue>>;
510 $$ = new std::vector<std::unique_ptr<AidlConstantValue>>;
522 $$ = new AidlConstantDeclaration(loc(@3), $2, $3->GetText(), $5);
530 $$ = new AidlEnumerator(loc(@1), $1->GetText(), $3, $1->GetComments());
534 $$ = new AidlEnumerator(loc(@1), $1->GetText(), nullptr, $1->GetComments());
541 $$ = new std::vector<std::unique_ptr<AidlEnumerator>>();
557 $$ = new AidlEnumDeclaration(loc(@2), $2->GetText(), $3, ps->Package(), $1->GetComments());
566 $$ = new AidlMethod(loc(@2), false, $1, $2->GetText(), $4, $1->GetComments());
571 $$ = new AidlMethod(loc(@4), true, $3, $4->GetText(), $6, comments);
583 $$ = new AidlMethod(loc(@2), false, $1, $2->GetText(), $4, $1->GetComments(), serial);
594 $$ = new AidlMethod(loc(@4), true, $3, $4->GetText(), $6, comments, serial);
604 $$ = new std::vector<std::unique_ptr<AidlArgument>>();
614 { $$ = new std::vector<std::unique_ptr<AidlArgument>>(); }
620 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText());
624 $$ = new AidlArgument(loc(@2), $1, $2->GetText());
631 $$ = new AidlTypeSpecifier(loc(@1), $1->GetText(), false, nullptr, $1->GetComments());
636 $$ = new AidlTypeSpecifier(loc(@1), $1->GetText(), true, nullptr, $1->GetComments());
641 $$ = new AidlTypeSpecifier(loc(@1), $1->GetText(), false, $3, $1->GetComments());
659 $$ = new std::vector<std::unique_ptr<AidlTypeSpecifier>>();
669 { $$ = new std::vector<AidlAnnotation>(); }
681 $$ = new AidlAnnotationParameter{$1->GetText(), std::unique_ptr<AidlConstantValue>($3)};
687 $$ = new std::map<std::string, std::shared_ptr<AidlConstantValue>>();
695 $$ = new std::map<std::string, std::shared_ptr<AidlConstantValue>>();