Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/C3ting/ARL
/ parse_expression
Function
parse_expression
app/services/expr.py:71–73 ·
view source on GitHub ↗
(expression)
Source
from the content-addressed store, hash-verified
69
70
# 解析表达式
71
def
parse_expression(expression):
72
result = bool_expr.parseString(expression, parseAll=True)
73
return
result.as_list()
74
75
76
# 递归求值
Callers
2
evaluate
Function · 0.85
build_parsed
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected