return expression.variable
def generate_function_call_for_fur_infix_operator(expression):
- return 'operator${}({}, {})'.format(
+ return 'operator${}(stack, jump, {})'.format(
expression.name,
- generate_expression(expression.left),
- generate_expression(expression.right),
+ expression.metadata.line,
)
def generate_structure_literal_expression(expression):
# TODO Check the type of the things being called
function_expression = generate_variable_expression(function_call.function_expression)
- return '{}.instance.closure.call(environmentPool, {}.instance.closure.closed, {}, stack)'.format(
+ return '{}.instance.closure.call(environmentPool, {}.instance.closure.closed, {}, stack, jump)'.format(
function_expression,
function_expression,
function_call.argument_count,