pm_regular_expression_node_t

Type Alias pm_regular_expression_node_t 

Source
pub type pm_regular_expression_node_t = pm_regular_expression_node;
Expand description

RegularExpressionNode

Represents a regular expression literal with no interpolation.

 /foo/i
 ^^^^^^

Type: ::PM_REGULAR_EXPRESSION_NODE

Flags (#pm_regular_expression_flags):

  • ::PM_REGULAR_EXPRESSION_FLAGS_IGNORE_CASE
  • ::PM_REGULAR_EXPRESSION_FLAGS_EXTENDED
  • ::PM_REGULAR_EXPRESSION_FLAGS_MULTI_LINE
  • ::PM_REGULAR_EXPRESSION_FLAGS_ONCE
  • ::PM_REGULAR_EXPRESSION_FLAGS_EUC_JP
  • ::PM_REGULAR_EXPRESSION_FLAGS_ASCII_8BIT
  • ::PM_REGULAR_EXPRESSION_FLAGS_WINDOWS_31J
  • ::PM_REGULAR_EXPRESSION_FLAGS_UTF_8
  • ::PM_REGULAR_EXPRESSION_FLAGS_FORCED_UTF8_ENCODING
  • ::PM_REGULAR_EXPRESSION_FLAGS_FORCED_BINARY_ENCODING
  • ::PM_REGULAR_EXPRESSION_FLAGS_FORCED_US_ASCII_ENCODING

@extends pm_node_t

Aliased Type§

#[repr(C)]
pub struct pm_regular_expression_node_t { pub base: pm_node, pub opening_loc: pm_location_t, pub content_loc: pm_location_t, pub closing_loc: pm_location_t, pub unescaped: pm_string_t, }

Fields§

§base: pm_node

The embedded base node.

§opening_loc: pm_location_t

RegularExpressionNode#opening_loc

§content_loc: pm_location_t

RegularExpressionNode#content_loc

§closing_loc: pm_location_t

RegularExpressionNode#closing_loc

§unescaped: pm_string_t

RegularExpressionNode#unescaped