Skip to main content

grammar_to_string

Function grammar_to_string 

Source
pub unsafe extern "C" fn grammar_to_string(
    grammar: Grammar,
) -> *const c_char
Expand description

Get a string representation of a given grammar. @param grammar The grammar. @return A string representation of the grammar. @note The returned char* pointer is only valid until the next call to this function.