parse_dcsh_impl_tokens

Function parse_dcsh_impl_tokens 

Source
pub fn parse_dcsh_impl_tokens(src: &str) -> Result<Vec<DcShorthand>>
Expand description

Parses a .dcsh implementation file (supporting # and ;; line comments and "..." UTF-8 strings) into a sequence of DcShorthands.

ยงErrors

Returns an error if any token is not a valid Dc shorthand or string literal.