![]() |
Spicy
|
Public Member Functions | |
| void | hookInitRuntime () override |
| void | hookFinishRuntime () override |
Public Member Functions inherited from spicy::Driver | |
| Driver (std::string name) | |
| Driver (std::string name, const hilti::rt::filesystem::path &argv0) | |
| Driver (const Driver &)=delete | |
| Driver (Driver &&) noexcept=delete | |
| Driver & | operator= (const Driver &)=delete |
| Driver & | operator= (Driver &&) noexcept=delete |
| spicy::Options | spicyCompilerOptions () const |
| void | setSpicyCompilerOptions (const spicy::Options &options) |
Public Member Functions inherited from hilti::Driver | |
| Driver (std::string name) | |
| Driver (std::string name, const hilti::rt::filesystem::path &argv0) | |
| Driver (const Driver &)=delete | |
| Driver (Driver &&) noexcept=delete | |
| Driver & | operator= (const Driver &)=delete |
| Driver & | operator= (Driver &&) noexcept=delete |
| Result< Nothing > | parseOptions (int argc, char **argv) |
| void | registerUnit (const std::shared_ptr< Unit > &unit) |
| Unit * | lookupUnit (const declaration::module::UID &uid) const |
| void | updateProcessExtension (const declaration::module::UID &uid, const hilti::rt::filesystem::path &ext) |
| Result< Nothing > | addInput (const hilti::rt::filesystem::path &path) |
| Result< Nothing > | addInput (declaration::module::UID uid) |
| bool | hasInputs () const |
| const auto & | driverOptions () const |
| const auto & | hiltiOptions () const |
| void | setDriverOptions (driver::Options options) |
| void | setCompilerOptions (hilti::Options options) |
| Result< Nothing > | initialize () |
| Result< Nothing > | compile () |
| const auto & | context () const |
| auto * | builder () const |
| const auto & | options () const |
| Result< Nothing > | initRuntime () |
| Result< Nothing > | executeMain () |
| Result< Nothing > | finishRuntime () |
| void | fatalError (const std::string &msg) |
| void | fatalError (const hilti::result::Error &error) |
| Result< Nothing > | run () |
Additional Inherited Members | |
Protected Member Functions inherited from spicy::Driver | |
| std::unique_ptr< hilti::Builder > | createBuilder (hilti::ASTContext *ctx) const override |
| std::string | hookAddCommandLineOptions () override |
| bool | hookProcessCommandLineOption (int opt, const char *optarg) override |
| std::string | hookAugmentUsage () override |
Protected Member Functions inherited from hilti::Driver | |
| void | usage () |
| Result< Nothing > | compileUnits () |
| Result< Nothing > | codegenUnits () |
| Result< Nothing > | linkUnits () |
| Result< Nothing > | outputUnits () |
| Result< Nothing > | jitUnits () |
| result::Error | error (std::string_view msg, const hilti::rt::filesystem::path &p="") |
| result::Error | augmentError (const result::Error &err, const hilti::rt::filesystem::path &p="") |
| Result< std::unique_ptr< std::ostream > > | openOutput (const hilti::rt::filesystem::path &p, bool binary=false, bool append=false) |
| Result< Nothing > | openInput (std::ifstream &in, const hilti::rt::filesystem::path &p) |
| Result< Nothing > | writeOutput (std::ifstream &in, const hilti::rt::filesystem::path &p) |
| Result< std::stringstream > | readInput (const hilti::rt::filesystem::path &p) |
| void | dumpUnit (const Unit &unit) |
| void | printHiltiException (const hilti::rt::Exception &e) |
| virtual void | hookAddInput (std::shared_ptr< Unit > unit) |
| virtual void | hookAddInput (const hilti::rt::filesystem::path &path) |
| virtual void | hookNewASTPreCompilation (const Plugin &plugin, ASTRoot *root) |
| virtual bool | hookNewASTPostCompilation (const Plugin &, ASTRoot *) |
| virtual Result< Nothing > | hookCompilationFinished (ASTRoot *) |
|
inlineoverridevirtual |
Hook for derived classes to execute custom code just before the HILTI runtime is being shut down.
Reimplemented from hilti::Driver.
|
inlineoverridevirtual |
Hook for derived classes to execute custom code when the HILTI runtime has been initialized.
Reimplemented from hilti::Driver.