Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/d/c/dc-compilers-HEAD/spark-comp08/AST/variableexpr.py   dc-compilers(Download)
    def __init__(self, v):
        Expr.__init__(self, "VariableExpr")
        self._kids = [v]
 
    def __str__(self):

src/d/c/dc-compilers-HEAD/spark-comp08/AST/numberexpr.py   dc-compilers(Download)
    def __init__(self, n):
        Expr.__init__(self, "NumberExpr")
        self.value = int(n)
 
    def genC(self):

src/d/c/dc-compilers-HEAD/spark-comp08/AST/compositeexpr.py   dc-compilers(Download)
    def __init__(self, pleft, poper, pright):
        Expr.__init__(self, 'CompositeExpr')
        # _kids[0] = pleft
        # _kids[1] = pright
        self._kids.append(pleft)

src/d/c/dc-compilers-HEAD/spark-comp07/AST/variableexpr.py   dc-compilers(Download)
    def __init__(self, name, value):
        Expr.__init__(self, "VariableExpr")
        self.name = name
        self.value = value
 

src/d/c/dc-compilers-HEAD/spark-comp07/AST/numberexpr.py   dc-compilers(Download)
    def __init__(self, n):
        Expr.__init__(self, "NumberExpr")
        self.value = int(n)
 
    def genC(self):

src/d/c/dc-compilers-HEAD/spark-comp07/AST/compositeexpr.py   dc-compilers(Download)
    def __init__(self, pleft, poper, pright):
        Expr.__init__(self, 'CompositeExpr')
        # _kids[0] = pleft
        # _kids[1] = pright
        self._kids.append(pleft)