Skip to main content

decode_math_char_for_stomach

Function decode_math_char_for_stomach 

Source
pub fn decode_math_char_for_stomach(
    mathcode: u16,
    meaning: Token,
) -> Result<Option<Digested>>
Expand description

Stomach-level hook for decoding math characters. Called from stomach::invoke_token_simple when IN_MATH and mathcode is set. Perl: decodeMathChar($mathcode, $meaning) in Stomach::invokeToken_simple