aboutsummaryrefslogtreecommitdiff
path: root/nomsu_tree.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu_tree.moon')
-rw-r--r--nomsu_tree.moon3
1 files changed, 3 insertions, 0 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon
index b9bcdbd..0c6e925 100644
--- a/nomsu_tree.moon
+++ b/nomsu_tree.moon
@@ -41,4 +41,7 @@ AST.Action.__init = =>
stub_bits = [type(a) == 'string' and a or '%' for a in *@]
@stub = concat stub_bits, " "
+AST.Action.get_args = =>
+ [tok for tok in *@ when type(tok) != 'string']
+
return AST