| /system/host/fidl/include/fidl/ |
| A D | source_location.h | 21 SourceLocation(StringView data, const SourceFile& source_file) in SourceLocation() argument 22 : data_(data), source_file_(&source_file) {} in SourceLocation() 29 const SourceFile& source_file() const { return *source_file_; } in source_file() function
|
| A D | lexer.h | 26 Lexer(const SourceFile& source_file, ErrorReporter* error_reporter) in Lexer() argument 27 : source_file_(source_file), error_reporter_(error_reporter) { in Lexer()
|
| /system/host/banjo/include/banjo/ |
| A D | source_location.h | 21 SourceLocation(StringView data, const SourceFile& source_file) in SourceLocation() argument 22 : data_(data), source_file_(&source_file) {} in SourceLocation() 29 const SourceFile& source_file() const { return *source_file_; } in source_file() function
|
| A D | lexer.h | 25 Lexer(const SourceFile& source_file, IdentifierTable* identifier_table) in Lexer() argument 26 : source_file_(source_file), identifier_table_(identifier_table) { in Lexer()
|
| A D | identifier_table.h | 24 StringView source_data, const SourceFile& source_file,
|
| /system/host/banjo/formatter/ |
| A D | main.cpp | 50 bool Format(const banjo::SourceFile& source_file, banjo::IdentifierTable* identifier_table, in Format() argument 52 banjo::Lexer lexer(source_file, identifier_table); in Format() 104 for (const auto& source_file : source_manager.sources()) { in main() local 106 if (!Format(*source_file, &identifier_table, &error_reporter, output)) { in main() 112 const char* filename = source_file->filename().data(); in main()
|
| /system/host/fidl/formatter/ |
| A D | main.cpp | 51 bool Format(const fidl::SourceFile& source_file, bool remove_ordinals, in Format() argument 53 fidl::Lexer lexer(source_file, error_reporter); in Format() 107 for (const auto& source_file : source_manager.sources()) { in main() local 109 if (!Format(*source_file, remove_ordinals, &error_reporter, output)) { in main() 117 const char* filename = source_file->filename().data(); in main()
|
| /system/host/banjo/lib/ |
| A D | identifier_table.cpp | 18 …:MakeIdentifier(SourceLocation previous_end, StringView source_data, const SourceFile& source_file, in MakeIdentifier() argument 26 …return Token(previous_end, SourceLocation(source_data, source_file), Token::Kind::kIdentifier, sub… in MakeIdentifier()
|
| A D | formatter.cpp | 383 banjo::SourceLocation(processed_file_start, real_start.previous_end().source_file())); in OnFile()
|
| A D | flat_ast.cpp | 485 auto filename = location.source_file().filename(); in CompileCompoundIdentifier() 665 auto filename = using_directive->location().source_file().filename(); in ConsumeUsing()
|
| /system/utest/banjo-compiler/ |
| A D | test_library.h | 64 auto source_file = MakeSourceFile(filename, raw_source_code); in AddSourceFile() local 66 banjo::Lexer lexer(source_file, &identifier_table); in AddSourceFile() 101 banjo::SourceFile source_file() { in source_file() function
|
| A D | visitor_unittests.cpp | 92 std::string expected(library.source_file().data()); in read_and_write_direct_test()
|
| /system/utest/fidl-compiler/ |
| A D | test_library.h | 68 auto source_file = MakeSourceFile(filename, raw_source_code); in AddSourceFile() local 69 fidl::Lexer lexer(source_file, &error_reporter_); in AddSourceFile() 117 fidl::SourceFile source_file() { in source_file() function
|
| A D | visitor_unittests.cpp | 92 std::string expected(library.source_file().data()); in read_and_write_direct_test()
|
| /system/host/banjo/ |
| A D | BUILD.gn | 22 "lib/source_file.cpp",
|
| A D | rules.mk | 26 $(LOCAL_DIR)/lib/source_file.cpp \
|
| /system/host/fidl/ |
| A D | BUILD.gn | 22 "lib/source_file.cpp",
|
| A D | rules.mk | 28 $(LOCAL_DIR)/lib/source_file.cpp \
|
| /system/host/banjo/compiler/ |
| A D | main.cpp | 257 bool Parse(const banjo::SourceFile& source_file, banjo::IdentifierTable* identifier_table, in Parse() argument 259 banjo::Lexer lexer(source_file, identifier_table); in Parse() 367 for (const auto& source_file : source_manager.sources()) { in main() local 368 if (!Parse(*source_file, &identifier_table, &error_reporter, library.get())) { in main()
|
| /system/host/fidl/compiler/ |
| A D | main.cpp | 229 bool Parse(const fidl::SourceFile& source_file, in Parse() argument 231 fidl::Lexer lexer(source_file, error_reporter); in Parse() 360 for (const auto& source_file : source_manager.sources()) { in compile() local 361 if (!Parse(*source_file, error_reporter, library.get())) { in compile()
|
| /system/host/fidl/lib/ |
| A D | formatter.cpp | 396 fidl::SourceLocation(processed_file_start, real_start.previous_end().source_file())); in OnFile()
|
| A D | flat_ast.cpp | 842 auto filename = location.source_file().filename(); in CompileCompoundIdentifier() 1008 auto filename = using_directive->location().source_file().filename(); in ConsumeUsing()
|