The name of this artefact.
Process the command-line arguments and return an array of the input file names if processing should continue, None otherwise.
Process the command-line arguments and return an array of the input file names if processing should continue, None otherwise.
Consume the AST.
Consume the AST. For example, translate it to something else. By default, do nothing.
Custom driver for section tagging and challenge mode for errors.
Custom driver for section tagging and challenge mode for errors. If a parse error occurs: in challenge mode, just send "parse failed" to standard output, otherwise send the message to the errors file.
Perform initialisation of semantic analysis that is necessary before processing an AST.
Process the given abstract syntax tree.
Process the given abstract syntax tree. Send output to emitter, marking sections so that we can split things later.
Process the AST, returning the new one.
Process the AST, returning the new one. By default, return the AST unchanged.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Output a section heading so that the output can be split later.
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0
(Since version 1.2.1) Use PrettyPrinter.any instead.
A driver for an artefact that parses, pretty prints and performs semantic analysis.