Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用活动 图来描述这个 [伪] 代码:
get expression while match '(' get expression if !match ')' error get term
看:
有没有办法在没有重复get expression节点的情况下描述该代码两次?
get expression
还是我使用了错误的图表来描述这一点?
图错了。您get_expression在每次迭代中遍历两次。在第一个下方添加一个节点get_expression,底部 [yes] 将转到该新节点。
get_expression