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

branch
eric7
changeset 8312
800c432b34c8
parent 6942
2602857055c5
equal deleted inserted replaced
8311:4e8b98454baa 8312:800c432b34c8
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