app/controllers/preprocessor/python/python_preprocessor.rb
def postprocess_print(send, type, line)
    if type == "syntaxchecksuccess"
      return syntax_check_success(send, line)

    elsif type == "syntaxcheckfail"
      return syntax_check_fail(send, line)

    elsif type == "augmentsuccess"
      return augment_success(send, line)

    elsif type == "augmentfail"
      return augment_fail(send, line)

    elsif type == "executeoutput"
      return execute_output(send, line)

    elsif type == "executeerror"
      return execute_error(send, line)
    end
  end
# Processes output from the VM. This method simply delegates to more specific handlers.
Processes output from the VM. This method simply delegates to more specific handlers.
Processes output from the VM . This method simply delegates to more specific handlers .
def postprocess_print(send, type, line)
    if type == "syntaxchecksuccess"
      return syntax_check_success(send, line)
    elsif type == "syntaxcheckfail"
      return syntax_check_fail(send, line)
    elsif type == "augmentsuccess"
      return augment_success(send, line)
    elsif type == "augmentfail"
      return augment_fail(send, line)
    elsif type == "executeoutput"
      return execute_output(send, line)
    elsif type == "executeerror"
      return execute_error(send, line)
    end
  end
def postprocess_print ( send , type , line ) if type == "syntaxchecksuccess" return syntax_check_success ( send , line ) elsif type == "syntaxcheckfail" return syntax_check_fail ( send , line ) elsif type == "augmentsuccess" return augment_success ( send , line ) elsif type == "augmentfail" return augment_fail ( send , line ) elsif type == "executeoutput" return execute_output ( send , line ) elsif type == "executeerror" return execute_error ( send , line ) end end
Processes output from the VM.
Processes output from the VM .
send
type
line