Skip to main content

Module parser

Module parser 

Source
Expand description

Parse RSL source into a Program.

pest turns the source into a parse tree according to grammar.pest; the modules here walk that tree and build AST nodes. One module per statement family: metadata, probes, socket, body, match_expr, and statements, with shared helpers in helpers.

Enums§

ParseError
Why a script could not be parsed.

Functions§

parse
Parse RSL source into a Program.