(self)
return full_code
Finishes and returns the full code.
Finishes and returns the full code.
Finishes and returns the full code .
def build_script(self):
        '''
        Finishes and returns the full code.
        '''
        self.build_script_body(self.name, self.sub_items)
        self.commands.append('return menuitem0,')
        full_code = CodeBuilder(
            self.commands, self.script_dirs, self.funcs, self.imports, self.type).compile()

        return full_code
def build_script ( self ) : self . build_script_body ( self . name , self . sub_items ) self . commands . append ( 'return menuitem0,' ) full_code = CodeBuilder ( self . commands , self . script_dirs , self . funcs , self . imports , self . type ) . compile ( ) return full_code