MCPcopy Create free account
hub / github.com/dotchain/dot / Parse

Function Parse

x/rich/eval/parse.go:19–83  ·  view source on GitHub ↗

Parse converts an expression into the corresponding AST The result is not yet evaluated, and needs a call to Eval to work.

(s Scope, code string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestEvalFunction · 0.92
TestEvalErrorsFunction · 0.92
TestEvalPanicsFunction · 0.92

Calls 3

parseMethod · 0.95
S16TypeAlias · 0.92
simpleCallFunction · 0.85

Tested by 3

TestEvalFunction · 0.74
TestEvalErrorsFunction · 0.74
TestEvalPanicsFunction · 0.74