Skip to main content

parse_all_with

Function parse_all_with 

Source
pub fn parse_all_with(
    text: &str,
    libraries: &Libraries,
) -> Result<Vec<Program>, Error>
Expand description

Every program in the source, in order, nested programs after the one that contains them. The libraries’ compliance level says how the source and its members are read. Debugging lines are program text through COPY and REPLACE, and comments after them outside a program compiled WITH DEBUGGING MODE (Language Reference SC27-8713-03, p. 693). Outside debugging mode Enterprise COBOL accepts a debugging line that does not read as text, such as one holding an unclosed literal; then every debugging line is read as a comment.