pfff-lang_GENERIC-analyze
Controlflow
commons
commons_core
pfff-commons-graph
pfff-config
pfff-graph_code
pfff-h_files-format
pfff-h_program-lang
pfff-h_version-control
pfff-h_visualization
pfff-lang_FUZZY
pfff-lang_GENERIC
pfff-lang_c
pfff-lang_c-analyze
pfff-lang_cpp
pfff-lang_cpp-analyze
pfff-lang_java
pfff-lang_java-analyze
pfff-lang_js
pfff-lang_js-analyze
pfff-lang_ml
pfff-lang_ml-analyze
pfff-lang_nw
pfff-lang_nw-analyze
pfff-lang_python
pfff-lang_python-analyze
pfff-linter
pfff-matcher
type node = {
n : node_kind;
i : Parse_info.t option;
}
and node_kind =
| Enter
| Exit
| TrueNode
| FalseNode
| IfHeader of Ast_generic.expr
| WhileHeader of Ast_generic.expr
| DoHeader
| DoWhileTail of Ast_generic.expr
| ForHeader
| ForeachHeader
| SwitchHeader of Ast_generic.expr
| SwitchEnd
| Case
| Default
| Return of Ast_generic.expr
| Break of Ast_generic.expr option
| Continue of Ast_generic.expr option
| TryHeader
| CatchStart
| Catch
| TryEnd
| Throw of Ast_generic.expr
| Join
| Parameter of Ast_generic.parameter
| SimpleStmt of simple_stmt
and simple_stmt =
| ExprStmt of Ast_generic.expr
| TodoSimpleStmt
type edge =
| Direct
type flow = (node, edge) Ograph_extended.ograph_mutable
type nodei = Ograph_extended.nodei
val find_node : (node -> bool) -> flow -> nodei
val find_enter : flow -> nodei
val find_exit : flow -> nodei
val display_flow : flow -> unit
val short_string_of_node_kind : node_kind -> string
val short_string_of_node : node -> string