Skip to main content

parse_declaration

Function parse_declaration 

Source
pub fn parse_declaration(
    arena: &AstArena,
    tokens: &mut Vec<u32>,
    parent: Option<u32>,
    options: &ParserOptions,
    errors: &mut Vec<ErrorDescription>,
) -> u32
Expand description

parse a declaration: the name token followed by the colon and the value tokens