class Step
Defined at line 47 of file ../../tools/fidl/fidlc/src/compiler.h
Step is the base class for compilation steps. Compiling a library consists
of performing all steps in sequence. Each step succeeds (no additional
errors) or fails (additional errors reported) as a unit, and typically
tries to process the entire library rather than stopping after the first
error. For certain major steps, we abort compilation if the step fails,
meaning later steps can rely on invariants from that step succeeding.
Public Methods
bool Run ()
void Step (Compiler * compiler)
Defined at line 49 of file ../../tools/fidl/fidlc/src/compiler.h
void Step (const Step & )
Defined at line 50 of file ../../tools/fidl/fidlc/src/compiler.h
Compiler * compiler ()
Defined at line 54 of file ../../tools/fidl/fidlc/src/compiler.h
Reporter * reporter ()
Defined at line 55 of file ../../tools/fidl/fidlc/src/compiler.h
Library * library ()
Defined at line 56 of file ../../tools/fidl/fidlc/src/compiler.h
const Libraries * all_libraries ()
Defined at line 57 of file ../../tools/fidl/fidlc/src/compiler.h
Typespace * typespace ()
VirtualSourceFile * generated_source_file ()
cpp20::span<const std::unique_ptr<Type>> created_types ()
Returns types that were created in the typespace while compiling this library.
const VersionSelection * version_selection ()
Defined at line 60 of file ../../tools/fidl/fidlc/src/compiler.h
MethodHasher method_hasher ()
Defined at line 61 of file ../../tools/fidl/fidlc/src/compiler.h
ExperimentalFlagSet experimental_flags ()
Defined at line 62 of file ../../tools/fidl/fidlc/src/compiler.h