grammar_context_at_end

Function grammar_context_at_end 

Source
pub fn grammar_context_at_end(input: &str) -> GrammarContext
Expand description

Get the grammar context at the end of the given input. Useful for tab completion to know what kind of token is expected next.