cpl_script_to_graph/1 | parse and validate CPLscript - check ranges and that there are no cycles, return a graph that models the flow of the script - the graph will be used as a FSM by a interpreter (and possibly to generate FSM .erl code) Note : Error = bad_xml (xmerl_scan:string failed) | cycle_detected_in_graph (add_edge/3 failed) | unreachable_nodes_detected | .... |
cpl_script_to_graph(CPLscript) -> [{VertexId, Label}]
throws {error, Error}
parse and validate CPLscript - check ranges and that there are no cycles, return a graph that models the flow of the script - the graph will be used as a FSM by a interpreter (and possibly to generate FSM .erl code) Note : Error = bad_xml (xmerl_scan:string failed) | cycle_detected_in_graph (add_edge/3 failed) | unreachable_nodes_detected | .... and various other parse error
Generated by EDoc, Oct 17 2007, 16:48:07.