A parsed pattern: the node pool plus side tables.
More...
#include <ast.hpp>
A parsed pattern: the node pool plus side tables.
Resource caps used during parsing and later Thompson unrolling are centralized in config.hpp (max_repeat_count, max_group_count, max_nesting_depth, max_program_size).
Definition at line 163 of file ast.hpp.
◆ classes
| std::vector<class_def> real::detail::ast::classes |
Character classes as written, before negation.
Definition at line 166 of file ast.hpp.
◆ group_count
| std::int32_t real::detail::ast::group_count {} |
Number of capturing groups.
Definition at line 169 of file ast.hpp.
◆ inline_flags
Flags from a leading (?ims).
Definition at line 168 of file ast.hpp.
◆ names
Named capture groups.
Definition at line 167 of file ast.hpp.
◆ nodes
| std::vector<ast_node> real::detail::ast::nodes |
The node pool; root indexes it.
Definition at line 165 of file ast.hpp.
◆ root
| std::int32_t real::detail::ast::root {-1} |
Index of the root node.
Definition at line 170 of file ast.hpp.
The documentation for this struct was generated from the following file: