Closed srhickma closed 4 years ago
Add a member Tree::get_opt which will return the single child of an optional node, or return None if the child does not exist. This will greatly simplify the handling of optional nodes in specification generation.
Tree::get_opt
None
Add a member
Tree::get_opt
which will return the single child of an optional node, or returnNone
if the child does not exist. This will greatly simplify the handling of optional nodes in specification generation.