diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-04-13 18:40:35 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-04-14 08:46:54 +0000 |
| commit | 1a8debe87762072b3a63b769aa515ebf63b4c70d (patch) | |
| tree | 33b42866307d11d2c0878b23e0ec0bb8925d3fcc /core/ast.moon | |
| parent | spec base.match __tostring (diff) | |
| download | alive-1a8debe87762072b3a63b769aa515ebf63b4c70d.tar.gz alive-1a8debe87762072b3a63b769aa515ebf63b4c70d.zip | |
move into proper Lua module (`alv`)
Diffstat (limited to 'core/ast.moon')
| -rw-r--r-- | core/ast.moon | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/core/ast.moon b/core/ast.moon deleted file mode 100644 index a25d1cd..0000000 --- a/core/ast.moon +++ /dev/null @@ -1,40 +0,0 @@ ----- --- AST Node Interface. --- --- implemented by `Value` and `Cell`. --- --- @classmod AST - ---- members --- @section members - - --- evaluate this AST Node. - -- - -- Evaluate this node and return a `Result`. - -- - -- @function eval - -- @tparam Scope scope the scope to evaluate in - -- @treturn Result the evaluation result - - --- quote this AST Node, preserving its identity. - -- - --- Returns a mutable copy of this Node that shares its identity. - -- - -- @function quote - -- @treturn AST - - --- create a clone with its own identity. - -- - -- creates a clone of this Cell with its own identity by prepending a `parent` - -- Tag (and cloning all child expressions recursively). - -- - -- @function clone - -- @tparam Tag parent - -- @treturn AST - - --- stringify this AST Node. - -- - -- Should return the exact string this node was parsed from (if it was parsed). - -- - -- @function stringify - -- @treturn string the exact string this Node was parsed from |
