• Home
  • Raw
  • Download

Lines Matching refs:AST

42 AST::AST(const Coordinator* coordinator, const Hash* fileHash)  in AST()  function in android::AST
49 Scope* AST::getMutableRootScope() { in getMutableRootScope()
53 const Scope& AST::getRootScope() const { in getRootScope()
58 void AST::addSyntaxError() { in addSyntaxError()
62 size_t AST::syntaxErrors() const { in syntaxErrors()
66 const std::string& AST::getFilename() const { in getFilename()
69 const Hash* AST::getFileHash() const { in getFileHash()
73 const Coordinator& AST::getCoordinator() const { in getCoordinator()
77 bool AST::setPackage(const char *package) { in setPackage()
91 FQName AST::package() const { in package()
95 bool AST::isInterface() const { in isInterface()
99 bool AST::definesInterfaces() const { in definesInterfaces()
103 status_t AST::postParse() { in postParse()
157 status_t AST::constantExpressionRecursivePass( in constantExpressionRecursivePass()
173 status_t AST::constantExpressionRecursivePass( in constantExpressionRecursivePass()
190 status_t AST::setParseStage(Type::ParseStage oldStage, Type::ParseStage newStage) { in setParseStage()
201 status_t AST::lookupTypes() { in lookupTypes()
229 status_t AST::gatherReferencedTypes() { in gatherReferencedTypes()
247 status_t AST::lookupConstantExpressions() { in lookupConstantExpressions()
289 status_t AST::validateDefinedTypesUniqueNames() const { in validateDefinedTypesUniqueNames()
303 status_t AST::resolveInheritance() { in resolveInheritance()
309 status_t AST::validateConstantExpressions() const { in validateConstantExpressions()
315 status_t AST::evaluateConstantExpressions() { in evaluateConstantExpressions()
324 status_t AST::validate() const { in validate()
329 status_t AST::topologicalReorder() { in topologicalReorder()
347 status_t AST::checkAcyclicConstantExpressions() const { in checkAcyclicConstantExpressions()
364 status_t AST::checkForwardReferenceRestrictions() const { in checkForwardReferenceRestrictions()
378 bool AST::importFQName(const FQName& fqName) { in importFQName()
398 AST* ast = mCoordinator->parse(subFQName, &mImportedASTs, Coordinator::Enforce::NONE); in importFQName()
417 AST* importAST; in importFQName()
472 bool AST::addImplicitImport(const FQName& fqName) { in addImplicitImport()
483 bool AST::addImport(const char* import, const Location& location) { in addImport()
502 void AST::addImportedAST(AST *ast) { in addImportedAST()
506 FQName AST::makeFullName(const char* localName, Scope* scope) const { in makeFullName()
518 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType()
523 LocalIdentifier* AST::lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, in lookupLocalIdentifier()
546 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, const Scope* scope) { in lookupEnumValue()
575 Type* AST::lookupType(const FQName& fqName, const Scope* scope) { in lookupType()
603 Type* AST::lookupTypeLocally(const FQName& fqName, const Scope* scope) { in lookupTypeLocally()
618 status_t AST::lookupAutofilledType(const FQName &fqName, Type **returnedType) { in lookupAutofilledType()
650 Type *AST::lookupTypeFromImports(const FQName &fqName) { in lookupTypeFromImports()
685 AST *importedAST = pair.first; in lookupTypeFromImports()
770 void AST::addToImportedNamesGranular(const FQName &fqName) { in addToImportedNamesGranular()
780 Type *AST::findDefinedType(const FQName &fqName, FQName *matchingName) const { in findDefinedType()
794 const std::vector<ImportStatement>& AST::getImportStatements() const { in getImportStatements()
798 void AST::getImportedPackages(std::set<FQName> *importSet) const { in getImportedPackages()
811 void AST::getImportedPackagesHierarchy(std::set<FQName> *importSet) const { in getImportedPackagesHierarchy()
823 void AST::getAllImportedNames(std::set<FQName> *allImportNames) const { in getAllImportedNames()
826 AST* ast = mCoordinator->parse(name, nullptr /* imported */, Coordinator::Enforce::NONE); in getAllImportedNames()
831 void AST::getAllImportedNamesGranular(std::set<FQName> *allImportNames) const { in getAllImportedNamesGranular()
836 AST* ast = mCoordinator->parse( in getAllImportedNamesGranular()
849 bool AST::isJavaCompatible() const { in isJavaCompatible()
870 void AST::appendToExportedTypesVector( in appendToExportedTypesVector()
875 bool AST::isIBase() const { in isIBase()
880 const Interface *AST::getInterface() const { in getInterface()
884 std::string AST::getBaseName() const { in getBaseName()
890 void AST::addDefinedTypes(std::set<FQName> *definedTypes) const { in addDefinedTypes()
901 void AST::addReferencedTypes(std::set<FQName> *referencedTypes) const { in addReferencedTypes()
910 bool AST::addMethod(Method* method, Interface* iface) { in addMethod()
927 bool AST::addAllReservedMethodsToInterface(Interface* iface) { in addAllReservedMethodsToInterface()
930 for (const AST* importedAST : mImportedASTs) { in addAllReservedMethodsToInterface()
938 void AST::setHeader(const DocComment* header) { in setHeader()
942 const DocComment* AST::getHeader() const { in getHeader()
946 void AST::addUnhandledComment(const DocComment* docComment) { in addUnhandledComment()
950 const std::vector<const DocComment*> AST::getUnhandledComments() const { in getUnhandledComments()