Skip to main content

print_atom

Function print_atom 

Source
pub fn print_atom(atom: &Atom) -> String
Expand description

Print an atom the way js_print_atom2 does.

A tagged array index prints as a bare number — that is the whole point of tagging it — while a string atom prints bare only if it is an ASCII identifier, and double-quoted otherwise.