aboutsummaryrefslogtreecommitdiffstats
path: root/base.moon
diff options
context:
space:
mode:
Diffstat (limited to 'base.moon')
-rw-r--r--base.moon8
1 files changed, 4 insertions, 4 deletions
diff --git a/base.moon b/base.moon
index 4fc2c98..acade78 100644
--- a/base.moon
+++ b/base.moon
@@ -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
}