Lines Matching refs:document
452 const AidlDocument* document = Parser::Parse(input_file_name, io_delegate, *typenames); in load_and_validate_aidl() local
453 if (document == nullptr) { in load_and_validate_aidl()
457 for (const auto& type : document->DefinedTypes()) { in load_and_validate_aidl()
478 for (const auto& import : document->Imports()) { in load_and_validate_aidl()
529 if (!ResolveReferences(*document, resolver)) { in load_and_validate_aidl()
541 const auto& types = document->DefinedTypes(); in load_and_validate_aidl()
544 AIDL_FATAL_IF(defined_type == nullptr, document); in load_and_validate_aidl()
664 if (!CheckValid(*document, options)) { in load_and_validate_aidl()
668 if (!ValidateAnnotationContext(*document)) { in load_and_validate_aidl()
672 if (!ValidateHeaders(options.TargetLanguage(), *document)) { in load_and_validate_aidl()
676 if (!Diagnose(*document, options.GetDiagnosticMapping())) { in load_and_validate_aidl()