usage: tempalte_text = read template text from file dictionary = create dictionaly by using yaml t = Template(tempalte_text) generated_text = t.generate(dictionary)
Definition at line 174 of file coil/build/yat.py.
def yat.Template.__init__ | ( | self, | |
template, | |||
begin_mark = "\[" , |
|||
end_mark = "\]" |
|||
) |
Definition at line 184 of file coil/build/yat.py.
def yat.Template.__init__ | ( | self, | |
template, | |||
begin_mark = "\[" , |
|||
end_mark = "\]" |
|||
) |
Definition at line 184 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 355 of file coil/build/yat.py.
def yat.Template.__cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 355 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__elif_any_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 497 of file coil/build/yat.py.
def yat.Template.__elif_any_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 497 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__elif_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 429 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__elif_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 429 of file coil/build/yat.py.
def yat.Template.__elif_index_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 464 of file coil/build/yat.py.
def yat.Template.__elif_index_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 464 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__else_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 508 of file coil/build/yat.py.
def yat.Template.__else_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 508 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__endfor_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 392 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__endfor_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 392 of file coil/build/yat.py.
def yat.Template.__endif_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 517 of file coil/build/yat.py.
def yat.Template.__endif_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 517 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__for_cmd | ( | self, | |
args | |||
) | [private] |
The following [for] directive [for tmp_key in directive] is converted into the following python command. for i in len(directive): self.dicts.append({tmp_key: ditective[i]) and, endfor directive terminate as the following, self.dicts.pop()
Definition at line 365 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__for_cmd | ( | self, | |
args | |||
) | [private] |
The following [for] directive [for tmp_key in directive] is converted into the following python command. for i in len(directive): self.dicts.append({tmp_key: ditective[i]) and, endfor directive terminate as the following, self.dicts.pop()
Definition at line 365 of file coil/build/yat.py.
def yat.Template.__if_any_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 489 of file coil/build/yat.py.
def yat.Template.__if_any_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 489 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__if_cmd | ( | self, | |
args | |||
) | [private] |
The following [if] directive [if directive is string] is converted into the following python command. if self.__get_string() == "string":
Definition at line 413 of file coil/build/yat.py.
def yat.Template.__if_cmd | ( | self, | |
args | |||
) | [private] |
The following [if] directive [if directive is string] is converted into the following python command. if self.__get_string() == "string":
Definition at line 413 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__if_index_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 442 of file coil/build/yat.py.
def yat.Template.__if_index_cmd | ( | self, | |
args | |||
) | [private] |
Definition at line 442 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__indent | ( | self | ) | [private] |
Definition at line 282 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__indent | ( | self | ) | [private] |
Definition at line 282 of file coil/build/yat.py.
def yat.Template.__parse | ( | self | ) | [private] |
Definition at line 286 of file coil/build/yat.py.
def yat.Template.__parse | ( | self | ) | [private] |
Definition at line 286 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__parse_template | ( | self, | |
dict | |||
) | [private] |
Definition at line 274 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__parse_template | ( | self, | |
dict | |||
) | [private] |
Definition at line 274 of file coil/build/yat.py.
def yat.Template.__pop_level | ( | self | ) | [private] |
Definition at line 260 of file coil/build/yat.py.
def yat.Template.__pop_level | ( | self | ) | [private] |
Definition at line 260 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__print_error | ( | self, | |
e | |||
) | [private] |
Definition at line 527 of file coil/build/yat.py.
def yat.Template.__print_error | ( | self, | |
e | |||
) | [private] |
Definition at line 527 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__proc_bracket | ( | self | ) | [private] |
Definition at line 298 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__proc_bracket | ( | self | ) | [private] |
Definition at line 298 of file coil/build/yat.py.
def yat.Template.__proc_cmd | ( | self | ) | [private] |
Definition at line 305 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__proc_cmd | ( | self | ) | [private] |
Definition at line 305 of file coil/build/yat.py.
def yat.Template.__proc_text | ( | self | ) | [private] |
Definition at line 291 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__proc_text | ( | self | ) | [private] |
Definition at line 291 of file coil/build/yat.py.
def yat.Template.__push_level | ( | self | ) | [private] |
Definition at line 257 of file coil/build/yat.py.
def yat.Template.__push_level | ( | self | ) | [private] |
Definition at line 257 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__write_cmd | ( | self, | |
cmd | |||
) | [private] |
Definition at line 263 of file coil/build/yat.py.
def yat.Template.__write_cmd | ( | self, | |
cmd | |||
) | [private] |
Definition at line 263 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__write_cmd_noindex | ( | self, | |
cmd | |||
) | [private] |
Definition at line 269 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.__write_cmd_noindex | ( | self, | |
cmd | |||
) | [private] |
Definition at line 269 of file coil/build/yat.py.
def yat.Template.del_nl_after_cmd | ( | self | ) |
Definition at line 542 of file coil/build/yat.py.
def yat.Template.del_nl_after_cmd | ( | self | ) |
Definition at line 542 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.generate | ( | self, | |
dict | |||
) |
Definition at line 246 of file coil/build/yat.py.
def yat.Template.generate | ( | self, | |
dict | |||
) |
Definition at line 246 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.get_script | ( | self | ) |
Definition at line 254 of file coil/build/yat.py.
def yat.Template.get_script | ( | self | ) |
Definition at line 254 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
def yat.Template.lineno | ( | self | ) |
Definition at line 558 of file coil/build/yat.py.
def yat.Template.lineno | ( | self | ) |
Definition at line 558 of file doil/utils/omniidl_be/tests/unitTest/yat.py.
yat.Template::__procs [private] |
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.
Definition at line 184 of file coil/build/yat.py.