A regular expression as it is validated: its content, its options, and the place in the source of the errors that are about it as a whole.
More...
|
| pm_parser_t * | parser |
| | The parser that the regular expression is in.
|
| const uint8_t * | source |
| | The content, in which the lexer keeps the escapes that the regular expression engine reads as their text.
|
| size_t | size |
| | The length of the content.
|
| const pm_encoding_t * | encoding |
| | The encoding that the content is in.
|
| pm_node_flags_t | flags |
| | The flags of the regular expression, which hold its options.
|
| pm_location_t | location |
| | Where errors about the regular expression as a whole are reported.
|
| bool | unlexed |
| | Whether the content holds characters that the lexer did not check, as the values of strings joined into it do, so that an invalid character is an error once its escapes are read rather than one that was reported where it was lexed.
|
A regular expression as it is validated: its content, its options, and the place in the source of the errors that are about it as a whole.
Definition at line 129 of file regexp.c.
◆ encoding
The encoding that the content is in.
This is the source encoding, except for content joined from strings in another encoding.
Definition at line 146 of file regexp.c.
◆ flags
| pm_node_flags_t pm_regexp_t::flags |
The flags of the regular expression, which hold its options.
Definition at line 149 of file regexp.c.
◆ location
Where errors about the regular expression as a whole are reported.
Definition at line 152 of file regexp.c.
◆ parser
The parser that the regular expression is in.
Definition at line 131 of file regexp.c.
◆ size
The length of the content.
Definition at line 140 of file regexp.c.
◆ source
| const uint8_t* pm_regexp_t::source |
The content, in which the lexer keeps the escapes that the regular expression engine reads as their text.
Definition at line 137 of file regexp.c.
◆ unlexed
| bool pm_regexp_t::unlexed |
Whether the content holds characters that the lexer did not check, as the values of strings joined into it do, so that an invalid character is an error once its escapes are read rather than one that was reported where it was lexed.
Definition at line 160 of file regexp.c.
The documentation for this struct was generated from the following file: