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

Sat, 12 Jan 2019 12:11:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Jan 2019 12:11:42 +0100
changeset 6650
1dd52aa8897c
parent 5843
ThirdParty/Jasy/jasy/js/parse/Node.py@76eee727ccd9
permissions
-rw-r--r--

jasy: updated jasy to 1.5-beta6 (latest release available).

#
# 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