aboutsummaryrefslogtreecommitdiffstats
path: root/core/base/op.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-08 17:23:31 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-08 17:43:11 +0000
commit75c662e7b01e4f85fbe3e500158239bc244f8112 (patch)
treeb3e236bbbf852ef61573d29086bb773402842830 /core/base/op.moon
parentmore changes for ldoc (diff)
downloadalive-75c662e7b01e4f85fbe3e500158239bc244f8112.tar.gz
alive-75c662e7b01e4f85fbe3e500158239bc244f8112.zip
add internals docs
Diffstat (limited to 'core/base/op.moon')
-rw-r--r--core/base/op.moon2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/base/op.moon b/core/base/op.moon
index 8475ded..f1aa9cc 100644
--- a/core/base/op.moon
+++ b/core/base/op.moon
@@ -15,6 +15,7 @@ class Op
-- The super-constructor can be used to construct a `Value` instance in `out`.
--
-- @function new
+ -- @classmethod
--- parse arguments and patch self.
--
@@ -84,6 +85,7 @@ class Op
-- it is okay not to use this and create the output stream in :setup() if the
-- type is not known at this time.
--
+ -- @classmethod
-- @tparam[opt] string type the type-name for `out`
-- @tparam[optchain] any init the initial value for `out`
new: (type, init) =>