Page 2, found in 49 ms
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Queries.Functi…Patch.Mock.Code.Queries.Functions — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Queries.Functions (patch v0.16.1) Summary Functions query(abstract_forms) Queries the provided forms for all defined functions. Functions Link to this function query(abstract_forms) View Source @spec query(abstract_forms :: [ Patch.Mock.Code.form …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Generators.Del…Patch.Mock.Code.Generators.Delegate — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Generators.Delegate (patch v0.16.1) Generator for delegate modules. delegate modules are generated by taking the target module and creating a stub function for each function in the module that calls the Patch.Mock.Server …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Rer…Patch.Mock.Code.Transforms.Reroute — patch v0.16.1
More about patch.hexdocs.pm
… remote calls to the source module into remote calls to the destination module. Functions Link to this function transform(abstract_forms, source, destination) View Source @spec transform( abstract_forms :: [ Patch.Mock.Code.form ()], source :: module …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Queries.ExportsPatch.Mock.Code.Queries.Exports — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Queries.Exports (patch v0.16.1) Summary Functions query(abstract_forms) Queries the provided forms for the exported functions. Functions Link to this function query(abstract_forms) View Source @spec query(abstract_forms …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.Rem…Patch.Mock.Code.Transforms.Remote — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Transforms.Remote (patch v0.16.1) Summary Functions transform(abstract_forms, module) Transforms the provided forms to rewrite any local call into a remote call to the provided module . Functions Link to this function …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Generators.Fac…Patch.Mock.Code.Generators.Facade — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Generators.Facade (patch v0.16.1) Generator for facade modules. facade modules are generated by taking the target module and creating a stub function for each function in the module that calls the delegate …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Generators.Ori…Patch.Mock.Code.Generators.Original — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Generators.Original (patch v0.16.1) Summary Functions generate(abstract_forms, module, exports) Generates a new original module based on the forms of the provided module. Functions Link to this function generate(abstract_forms …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.Mock.Code.Transforms.CleanPatch.Mock.Code.Transforms.Clean — patch v0.16.1
More about patch.hexdocs.pm
View Source Patch.Mock.Code.Transforms.Clean (patch v0.16.1) Cleans abstract form to prepare it for subsequent generation. The following forms are retained: module attribute exports no_auto_import compiler options (This is needed to prevent …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › Patch.MacroPatch.Macro — patch v0.16.1
More about patch.hexdocs.pm
… function debug(ast) View Source @spec debug(ast :: Macro.t ()) :: Macro.t () Utility function that acts like inspect/1 but prints out the Macro as code. Link to this macro match(pattern, expression) View …
-
patch.hexdocs.pmhttps://patch.hexdocs.pm › 02-patchingChapter 2: Patching — patch v0.16.1
More about patch.hexdocs.pm
… like this: Note: this code is invalid and won't compile patch ( Example , :example , fn a -> { :patched , a } a , b , c -> { :patched , a , b , c } end ) This code is illegal in Elixir, the …
Search for “source code site:patch.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.