from Interpreter.Expressions.expression import Expression


class Call(Expression):

    def __init__(self, _id, exp):
        self.id = _id
        self.exp = exp

    def getValue(self, env):
        expValue = self.exp.getValue(env)
        return env.functions[self.id](expValue)

5c950e90d9c1809e12aaa1fc9ffe3812ad18172e
<mask token>


class Call(Expression):
    <mask token>
    <mask token>

<mask token>


class Call(Expression):

    def __init__(self, _id, exp):
        self.id = _id
        self.exp = exp
    <mask token>

<mask token>


class Call(Expression):

    def __init__(self, _id, exp):
        self.id = _id
        self.exp = exp

    def getValue(self, env):
        expValue = self.exp.getValue(env)
        return env.functions[self.id](expValue)

from Interpreter.Expressions.expression import Expression


class Call(Expression):

    def __init__(self, _id, exp):
        self.id = _id
        self.exp = exp

    def getValue(self, env):
        expValue = self.exp.getValue(env)
        return env.functions[self.id](expValue)
