Beispiel #1
0
def wrap_up(ModeName, FunctionBody, VariableDefs, ModeNameList):
    txt_function = Lng.ANALYZER_FUNCTION(ModeName, Setup, VariableDefs, 
                                         FunctionBody, ModeNameList) 
    txt_header   = Lng.HEADER_DEFINITIONS() 
    assert isinstance(txt_header, (str, unicode))

    txt_analyzer = get_plain_strings(txt_function)
    assert all_isinstance(txt_analyzer, (str, unicode))

    return [ txt_header ] + txt_analyzer
Beispiel #2
0
def wrap_up(ModeName, FunctionBody, VariableDefs, ModeNameList, dial_db):
    txt_function = Lng.ANALYZER_FUNCTION(ModeName, Setup, VariableDefs, 
                                         FunctionBody, dial_db, ModeNameList) 
    txt_header   = Lng.HEADER_DEFINITIONS(dial_db) 
    assert isinstance(txt_header, (str, unicode))

    txt_analyzer = get_plain_strings(txt_function, dial_db)
    assert all_isinstance(txt_analyzer, (str, unicode))

    return [ txt_header ] + txt_analyzer
Beispiel #3
0
 def GET_PLAIN_STRINGS(self, txt_list):
     self.REPLACE_INDENT(txt_list)
     return get_plain_strings(txt_list)
Beispiel #4
0
 def GET_PLAIN_STRINGS(self, txt_list):
     self.REPLACE_INDENT(txt_list)
     return get_plain_strings(txt_list)