Example #1
0
    def __init__(self, file, name=None):
        ScriptElement.__init__(self)
        HasChildren.__init__(self)
        Scope.__init__(self)
        self._file = file
        self.builtin = False

        if name:
            self.name = name
        else:
            self.name = "main"
Example #2
0
    def __init__(self, file, name=None):
        ScriptElement.__init__(self)
        HasChildren.__init__(self)
        Scope.__init__(self)
        self._file = file
        self.builtin = False

        if name:
            self.name = name
        else:
            self.name = "main"
Example #3
0
 def __init__(self, qname):
     ScriptElement.__init__(self)
     p = qname.split(".")
     self.name = p.pop()
     self.qname = qname
     del p
Example #4
0
 def __init__(self, id, default):
     ScriptElement.__init__(self)
     self.id = id
     self.default = default
Example #5
0
 def __init__(self, module, moduleName, alias):
     ScriptElement.__init__(self)
     self._module = module
     self.alias = alias
     self.moduleName = moduleName
Example #6
0
 def __init__(self, ctx=0):
     ScriptElement.__init__(self)
     HasChildren.__init__(self)
     self.ctx = ctx
Example #7
0
 def __init__(self, value):
     ScriptElement.__init__(self)
     self.value = value
Example #8
0
 def __init__(self, lower, upper, step):
     ScriptElement.__init__(self)
     self.lower = lower
     self.upper = upper
     self.step = step
Example #9
0
 def __init__(self, ctx=0):
     ScriptElement.__init__(self)
     HasChildren.__init__(self)
     self.ctx = ctx
Example #10
0
 def __init__(self, value):
     ScriptElement.__init__(self)
     self.value = value
Example #11
0
 def __init__(self, lower, upper, step):
     ScriptElement.__init__(self)
     self.lower = lower
     self.upper = upper
     self.step = step
Example #12
0
 def __init__(self):
     ScriptElement.__init__(self)
Example #13
0
 def __init__(self, module, moduleName, alias):
     ScriptElement.__init__(self)
     self._module = module
     self.alias = alias
     self.moduleName = moduleName
Example #14
0
 def __init__(self, qname):
     ScriptElement.__init__(self)
     p = qname.split(".")
     self.name = p.pop()
     self.qname = qname
     del p
Example #15
0
 def __init__(self, id, default):
     ScriptElement.__init__(self)
     self.id = id
     self.default = default
Example #16
0
 def __init__(self, key, value):
     ScriptElement.__init__(self)
     self.key = key
     self.value = value