diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-01-31 18:28:10 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-01-31 18:28:10 +0000 |
| commit | 16962e1836251526fa08895b1a76dd72b7fd5ef9 (patch) | |
| tree | ef60d08e792825407d41fb77c14c26ecb135e2fc /base.moon | |
| parent | nested parens in comments (diff) | |
| download | alive-16962e1836251526fa08895b1a76dd72b7fd5ef9.tar.gz alive-16962e1836251526fa08895b1a76dd72b7fd5ef9.zip | |
modularize
Diffstat (limited to 'base.moon')
| -rw-r--r-- | base.moon | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,11 +1,11 @@ -class Constant +class Const new: (@value) => get: => @value getc: => @value __tostring: => "<const: #{@value}>" -class OP +class Op new: (@node) => @setup @node\tail! @@ -27,6 +27,6 @@ class OP cls.__base.__tostring = @__tostring { - :Constant - :OP + :Const + :Op } |
