pm_or_node_t

Type Alias pm_or_node_t 

Source
pub type pm_or_node_t = pm_or_node;
Expand description

OrNode

Represents the use of the || operator or the or keyword.

 left or right
 ^^^^^^^^^^^^^

Type: ::PM_OR_NODE

@extends pm_node_t

Aliased Type§

#[repr(C)]
pub struct pm_or_node_t { pub base: pm_node, pub left: *mut pm_node, pub right: *mut pm_node, pub operator_loc: pm_location_t, }

Fields§

§base: pm_node

The embedded base node.

§left: *mut pm_node

OrNode#left

Represents the left side of the expression. It can be any non-void expression.

 left or right
 ^^^^
 1 || 2
 ^
§right: *mut pm_node

OrNode#right

Represents the right side of the expression.

 left || right
         ^^^^^
 1 or 2
      ^
§operator_loc: pm_location_t

OrNode#operator_loc

The location of the or keyword or the || operator.

 left or right
      ^^