MCPcopy Create free account
hub / github.com/IntrepidPig/mexprp / paren_to_exprs

Function paren_to_exprs

src/term.rs:146–211  ·  view source on GitHub ↗

Convert ParenTokens to exprs. This function accomplishes two things at once. First, it decides if names are functions or variables depending on their context. Second, it splits the arguments of a function up by their commas, removing the need for a comma in the token representation.

(raw: Vec<ParenToken>, ctx: &Context<N>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

parse_ctxMethod · 0.85
tokens_to_argsFunction · 0.85

Calls 5

NumInterface · 0.85
OpEnum · 0.85
FuncInterface · 0.85
tokens_to_argsFunction · 0.85
SubClass · 0.85

Tested by

no test coverage detected