Pathex.Builder.Code (Pathex v1.3.0) View Source
Structure for working with closures as ASTs
Fields
- vars - list of variables/arguments
- code - body of a closure
Link to this section Summary
Functions
Converts code structures to quoted fn-statement with multiple clauses
Simply creates new Code structure
Converts quoted code with list of quoted vars to piped %Code{} with first arg piping into quoted code
Converts code structure to quoted def-statement
Converts code structure to quoted fn-closure
Link to this section Types
Specs
code_type() :: :one_arg_pipe
Specs
Link to this section Functions
Specs
Converts code structures to quoted fn-statement with multiple clauses
Specs
Simply creates new Code structure
Specs
Converts quoted code with list of quoted vars to piped %Code{} with first arg piping into quoted code
Specs
Converts code structure to quoted def-statement
Specs
Converts code structure to quoted fn-closure