fn resolve_term_name(name: &str) -> Atom
Expand description

Decide whether the name corresponds to a constant or a variable, and return the correct term token.