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

Fri, 31 Mar 2023 13:39:51 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Mar 2023 13:39:51 +0200
branch
eric7
changeset 9954
7c5fa3eef082
parent 9209
b99e7fd55fd3
permissions
-rw-r--r--

MicroPython
- Reworked the device detection logic of the UF2 flash dialog.

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