Beispiel #1
0
    def call_method(self, id, name, arguments=None):
        op = Operation("method-call")
        op.id = id
        op.name = name
        op.arguments = arguments

        self.operations.append(op)
Beispiel #2
0
    def call_constructor(self, id, namespace, name, arguments=None):
        op = Operation("constructor-call")
        op.id = id
        op.namespace = namespace
        op.name = name
        op.arguments = arguments

        self.operations.append(op)