예제 #1
0
    def __init__(self):
        TreeToTokenStream.__init__(self)

        self.handlers['CALLEE'] = self.newCallHandler
        self.handlers['PARAMETER_DECL'] = self.newParamHandler
        self.handlers['VAR_DECL'] = self.newDeclHandler
        self.handlers['FIELD'] = self.nonFuncCallHandler
        self.handlers['UNARY_EXPR'] = self.nonFuncCallHandler
예제 #2
0
    def __init__(self):
        TreeToTokenStream.__init__(self)

        self.handlers["CALLEE"] = self.newCallHandler
        self.handlers["PARAMETER_DECL"] = self.newParamHandler
        self.handlers["VAR_DECL"] = self.newDeclHandler
        self.handlers["FIELD"] = self.nonFuncCallHandler
        self.handlers["UNARY_EXPR"] = self.nonFuncCallHandler
예제 #3
0
 def __init__(self):
     TreeToTokenStream.__init__(self)
     
     self.handlers['CALLEE'] = self.newCallHandler
     self.handlers['PARAMETER_DECL'] = self.newParamHandler
     self.handlers['VAR_DECL'] = self.newDeclHandler
예제 #4
0
    def __init__(self):
        TreeToTokenStream.__init__(self)

        self.handlers['CALLEE'] = self.newCallHandler
        self.handlers['PARAMETER_DECL'] = self.newParamHandler
        self.handlers['VAR_DECL'] = self.newDeclHandler