Lines Matching refs:AST

36 AST::AST(Coordinator *coordinator, const std::string &path)  in AST()  function in android::AST
44 AST::~AST() { in ~AST()
54 void AST::addSyntaxError() { in addSyntaxError()
58 size_t AST::syntaxErrors() const { in syntaxErrors()
62 void *AST::scanner() { in scanner()
66 void AST::setScanner(void *scanner) { in setScanner()
70 const std::string &AST::getFilename() const { in getFilename()
74 bool AST::setPackage(const char *package) { in setPackage()
87 FQName AST::package() const { in package()
91 bool AST::isInterface(std::string *ifaceName) const { in isInterface()
95 bool AST::containsInterfaces() const { in containsInterfaces()
99 bool AST::addImport(const char *import) { in addImport()
121 AST *ast = mCoordinator->parse(subFQName, &mImportedASTs, false /* enforce */); in addImport()
132 AST *importAST; in addImport()
188 void AST::addImportedAST(AST *ast) { in addImportedAST()
192 void AST::enterScope(Scope *container) { in enterScope()
196 void AST::leaveScope() { in leaveScope()
200 Scope *AST::scope() { in scope()
205 bool AST::addTypeDef(const char *localName, Type *type, const Location &location, in addTypeDef()
214 bool AST::addScopedType(NamedType *type, std::string *errorMsg) { in addScopedType()
219 bool AST::addScopedTypeInternal( in addScopedTypeInternal()
244 EnumValue *AST::lookupEnumValue(const FQName &fqName, std::string *errorMsg) { in lookupEnumValue()
271 Type *AST::lookupType(const FQName &fqName) { in lookupType()
303 Type *AST::lookupTypeLocally(const FQName &fqName) { in lookupTypeLocally()
324 status_t AST::lookupAutofilledType(const FQName &fqName, Type **returnedType) { in lookupAutofilledType()
356 Type *AST::lookupTypeFromImports(const FQName &fqName) { in lookupTypeFromImports()
391 AST *importedAST = pair.first; in lookupTypeFromImports()
488 Type *AST::findDefinedType(const FQName &fqName, FQName *matchingName) const { in findDefinedType()
502 void AST::getImportedPackages(std::set<FQName> *importSet) const { in getImportedPackages()
515 void AST::getImportedPackagesHierarchy(std::set<FQName> *importSet) const { in getImportedPackagesHierarchy()
526 void AST::getAllImportedNames(std::set<FQName> *allImportNames) const { in getAllImportedNames()
529 AST *ast = mCoordinator->parse(name, nullptr /* imported */, false /* enforce */); in getAllImportedNames()
534 bool AST::isJavaCompatible() const { in isJavaCompatible()
536 if (!AST::isInterface(&ifaceName)) { in isJavaCompatible()
550 void AST::appendToExportedTypesVector( in appendToExportedTypesVector()
555 bool AST::isIBase() const { in isIBase()
560 const Interface *AST::getInterface() const { in getInterface()