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

changeset 6942
2602857055c5
parent 6650
1dd52aa8897c
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 #
2 # Jasy - Web Tooling Framework
3 # Copyright 2013-2014 Sebastian Werner
4 #
5
6 from __future__ import unicode_literals
7
8 import jasy.parse.AbstractNode as AbstractNode
9
10 class Node(AbstractNode.AbstractNode):
11
12 __slots__ = [
13 # core data
14 "line", "type", "tokenizer", "start", "end", "rel", "parent",
15
16 # dynamic added data by other modules
17 "comments", "scope",
18
19 # node type specific
20 "value", "expression", "body", "functionForm", "parenthesized", "fileId", "params",
21 "name", "readOnly", "initializer", "condition", "isLoop", "isEach", "object", "assignOp",
22 "iterator", "thenPart", "exception", "elsePart", "setup", "postfix", "update", "tryBlock",
23 "block", "defaultIndex", "discriminant", "label", "statements", "finallyBlock",
24 "statement", "variables", "names", "guard", "for", "tail", "expressionClosure"
25 ]
26

eric ide

mercurial