• Home
  • Raw
  • Download

Lines Matching refs:ast

45 void enterScope(AST* /* ast */, Scope** scope, Scope* container) {
50 void leaveScope(AST* ast, Scope** scope) {
51 CHECK((*scope) != ast->getRootScope());
212 const_cast<std::string *>(&ast->getFilename());
216 %parse-param { android::AST* const ast }
486 ast->addSyntaxError();
495 ast->addSyntaxError();
536 if (!ast->setPackage($2)) {
550 ast->addSyntaxError();
557 if (!ast->addImport($2)) {
560 ast->addSyntaxError();
565 if (!ast->addImport($2)) {
568 ast->addSyntaxError();
670 bool isIBase = ast->package().package() == gIBaseFqName.package();
681 if (!ast->addImport(gIBaseFqName.string().c_str())) {
701 if (*scope != ast->getRootScope()) {
709 $2, ast->makeFullName($2, *scope), convertYYLoc(@2),
710 *scope, *superType, ast->getFileHash());
712 enterScope(ast, scope, iface);
721 leaveScope(ast, scope);
722 ast->addScopedType(iface, *scope);
734 $3, ast->makeFullName($3, *scope), convertYYLoc(@2), *scope, *$2);
735 ast->addScopedType(typeDef, *scope);
797 ast->addSyntaxError();
838 ast->addSyntaxError();
868 ast->addSyntaxError();
877 ast->addSyntaxError();
896 ast->addSyntaxError();
911 $1, $2, ast->makeFullName($2, *scope), convertYYLoc(@2), *scope);
912 enterScope(ast, scope, container);
920 leaveScope(ast, scope);
921 ast->addScopedType(container, *scope);
1018 ast->addSyntaxError();
1024 $2, ast->makeFullName($2, *scope), convertYYLoc(@2), *storageType, *scope);
1025 enterScope(ast, scope, enumType);
1032 leaveScope(ast, scope);
1033 ast->addScopedType(enumType, *scope);
1077 ast->addSyntaxError();
1084 ast->addSyntaxError();