Module text_to_cst

Source
Expand description

Step one: Convert text to CST This module contains step one of the parser for the Cedar language. It converts text to a CST

Modules§

grammar

Functions§

parse_expr
Create CST for one Expression from text
parse_ident
Parse text as an identifier, or fail if it does not parse as an identifier
parse_name
Parse text as a Name, or fail if it does not parse as a Name
parse_policies
Create CST for multiple policies from text
parse_policy
Create CST for one policy statement from text
parse_primary
Create CST for one Primary value from text
parse_ref
Create CST for one Entity Ref (i.e., UID) from text