ThirdParty/Jasy/jasy/script/parse/Node.py

changeset 6650
1dd52aa8897c
parent 5843
76eee727ccd9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ThirdParty/Jasy/jasy/script/parse/Node.py	Sat Jan 12 12:11:42 2019 +0100
@@ -0,0 +1,26 @@
+#
+# Jasy - Web Tooling Framework
+# Copyright 2013-2014 Sebastian Werner
+#
+
+from __future__ import unicode_literals
+
+import jasy.parse.AbstractNode as AbstractNode
+
+class Node(AbstractNode.AbstractNode):
+
+    __slots__ = [
+        # core data
+        "line", "type", "tokenizer", "start", "end", "rel", "parent",
+
+        # dynamic added data by other modules
+        "comments", "scope",
+
+        # node type specific
+        "value", "expression", "body", "functionForm", "parenthesized", "fileId", "params",
+        "name", "readOnly", "initializer", "condition", "isLoop", "isEach", "object", "assignOp",
+        "iterator", "thenPart", "exception", "elsePart", "setup", "postfix", "update", "tryBlock",
+        "block", "defaultIndex", "discriminant", "label", "statements", "finallyBlock",
+        "statement", "variables", "names", "guard", "for", "tail", "expressionClosure"
+    ]
+

eric ide

mercurial