Lines Matching refs:loc
12 AidlLocation loc(const yy::parser::location_type& l) {
143 { ps->AddImport(new AidlImport(loc(@2), $2->GetDotName()));
149 $$ = new AidlQualifiedName(loc(@1), $1->GetText(), $1->GetComments());
190 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments());
193 $$ = new AidlParcelable(loc(@2), $2, ps->Package(), $1->GetComments(), $4->GetText());
196 AidlQualifiedName* name = new AidlQualifiedName(loc(@2), $2->GetText(), $2->GetComments());
197 $$ = new AidlStructuredParcelable(loc(@2), name, ps->Package(), $1->GetComments(), $4);
217 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText());
220 $$ = new AidlVariableDeclaration(loc(@2), $1, $2->GetText(), $4);
229 $$ = new AidlInterface(loc(@1), $2->GetText(), $1->GetComments(), false, $4, ps->Package());
234 $$ = new AidlInterface(loc(@2), $3->GetText(), $1->GetComments(), true, $5, ps->Package());
260 : TRUE_LITERAL { $$ = AidlConstantValue::Boolean(loc(@1), true); }
261 | FALSE_LITERAL { $$ = AidlConstantValue::Boolean(loc(@1), false); }
262 | CHARVALUE { $$ = AidlConstantValue::Character(loc(@1), $1); }
264 $$ = AidlConstantValue::Integral(loc(@1), $1->GetText());
268 $$ = AidlConstantValue::Floating(loc(@1), $1->GetText());
272 $$ = AidlConstantValue::Hex(loc(@1), $1->GetText());
276 $$ = AidlConstantValue::String(loc(@1), $1->GetText());
280 $$ = AidlConstantValue::Array(loc(@1), $2);
307 $$ = new AidlConstantDeclaration(loc(@3), $2, $3->GetText(), $5);
314 $$ = new AidlMethod(loc(@2), false, $1, $2->GetText(), $4, $1->GetComments());
318 $$ = new AidlMethod(loc(@3), true, $2, $3->GetText(), $5, $1->GetComments());
323 …$$ = new AidlMethod(loc(@2), false, $1, $2->GetText(), $4, $1->GetComments(), std::stoi($7->GetTex…
327 …$$ = new AidlMethod(loc(@3), true, $2, $3->GetText(), $5, $1->GetComments(), std::stoi($8->GetText…
346 $$ = new AidlArgument(loc(@3), $1, $2, $3->GetText());
350 $$ = new AidlArgument(loc(@2), $1, $2->GetText());
359 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), false, nullptr, $1->GetComments());
364 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), true, nullptr, $1->GetComments());
369 $$ = new AidlTypeSpecifier(loc(@1), $1->GetDotName(), false, $3, $1->GetComments());
408 $$ = AidlAnnotation::Parse(loc(@1), $1->GetText());
429 AIDL_ERROR(loc(l)) << errstr;