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

Mon, 16 Sep 2019 18:56:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 16 Sep 2019 18:56:09 +0200
changeset 7239
3e9e09a49cf5
parent 6942
2602857055c5
permissions
-rw-r--r--

jasy: some fixes for syntax warnings.

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