Skip to main content

parse

Function parse 

Source
pub fn parse() -> ZshProgram
Expand description

Parse the complete input. Direct port of parse_event / par_list from Src/parse.c:614-720. On syntax error, sets errflag |= ERRFLAG_ERROR (via zerr) and returns the partial program — callers check errflag to detect failure, matching C’s Eprog parse_event(...) + if (errflag) {...}.