raesl.excel.text
#
Raw text export of ESL requirement nodes.
Module Contents#
Functions#
|
Re-format the requirement as text. |
|
Re-format goal requirement as text. |
|
Re-format transformation requirement as text. |
|
Re-format design rule as text. |
|
Re-format design clause as text. |
|
Re-format design requirement as text. |
|
Re-format subclauses as text. |
|
Re-format behavior requirement case as text. |
|
Re-format behavior requirement as text. |
|
Re-format need as text. |
|
Find out the largest shared substrings separated on dots '.'. |
|
Strip a prefix from a string if it starts with it. |
|
Use symbols instead of full text for comparison text. |
- raesl.excel.text.requirement_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format the requirement as text.
- raesl.excel.text.goal_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format goal requirement as text.
- raesl.excel.text.transformation_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format transformation requirement as text.
- raesl.excel.text.designrule_text(body: Dict[str, Any], graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format design rule as text.
- raesl.excel.text.designclause_text(bodies: List[Dict[str, Any]], graph: ragraph.graph.Graph, label: str | None = None, skip: str | None = 'world') str #
Re-format design clause as text.
- raesl.excel.text.design_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format design requirement as text.
- raesl.excel.text.subclauses_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world', spaces: int = 2) str #
Re-format subclauses as text.
- raesl.excel.text.case_text(case: Dict[str, Any], graph: ragraph.graph.Graph, skip: str = 'world') str #
Re-format behavior requirement case as text.
- raesl.excel.text.behavior_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format behavior requirement as text.
- raesl.excel.text.need_text(requirement: ragraph.node.Node, graph: ragraph.graph.Graph, skip: str | None = 'world') str #
Re-format need as text.
- raesl.excel.text.get_common_parts(strings: Iterable[str]) List[str] #
Find out the largest shared substrings separated on dots ‘.’.
- raesl.excel.text.strip_prefix(input: str, prefix: str) str #
Strip a prefix from a string if it starts with it.
- raesl.excel.text.abbreviate_comparison(comp_str: str) str #
Use symbols instead of full text for comparison text.