Functions
converter.code_patcher Namespace Reference

Functions

def _patch_python_script (code)
 
def _patch_qichat_script (code)
 
def patch (script)
 

Function Documentation

◆ _patch_python_script()

def converter.code_patcher._patch_python_script (   code)
private
Apply modifications to old version python script
    to make it correspond to new behavior format files

Definition at line 45 of file code_patcher.py.

◆ _patch_qichat_script()

def converter.code_patcher._patch_qichat_script (   code)
private
Apply modifications to old version qichat script
    to make it correspond to new behavior format files

Definition at line 36 of file code_patcher.py.

◆ patch()

def converter.code_patcher.patch (   script)
Clean the code contained in script boxes
    For now, script boxes can contain Python or QiChat script

    :param box: the box that holds the code
    :returns: the patched code as a string

Definition at line 14 of file code_patcher.py.



naoqi_libqicore
Author(s): Aldebaran
autogenerated on Wed Sep 14 2022 02:22:41