def convert_built_in(self, op, pytoken):
        """

        :param op:
        :param pytoken:
        :return:
        """
        syscall_name = None
        if op == 'print':
            syscall_name = 'Neo.Runtime.Log'.encode('utf-8')

        elif op == 'enumerate':
            syscall_name = b'Neo.Enumerator.Create'
        elif op == 'iter':
            syscall_name = b'Neo.Iterator.Create'
        elif op == 'next':
            syscall_name = b'Neo.Enumerator.Next'

        elif op == 'reversed':
            raise NotImplementedError(
                "[Compilation error] Built in %s is not implemented. Use array.reverse() instead." % op)

        if syscall_name:
            length = len(syscall_name)
            ba = bytearray([length]) + bytearray(syscall_name)
            vmtoken = self.convert1(VMOp.SYSCALL, pytoken, data=ba)
            return vmtoken

        raise NotImplementedError(
            "[Compilation error] Built in %s is not implemented" % op)
def convert_built_in ( self , op , pytoken ) : syscall_name = None if op == 'print' : syscall_name = 'Neo.Runtime.Log' . encode ( 'utf-8' ) elif op == 'enumerate' : syscall_name = b'Neo.Enumerator.Create' elif op == 'iter' : syscall_name = b'Neo.Iterator.Create' elif op == 'next' : syscall_name = b'Neo.Enumerator.Next' elif op == 'reversed' : raise NotImplementedError ( "[Compilation error] Built in %s is not implemented. Use array.reverse() instead." % op ) if syscall_name : length = len ( syscall_name ) ba = bytearray ( [ length ] ) + bytearray ( syscall_name ) vmtoken = self . convert1 ( VMOp . SYSCALL , pytoken , data = ba ) return vmtoken raise NotImplementedError ( "[Compilation error] Built in %s is not implemented" % op )
:param op:
        :param pytoken:
        :return: