Ruby 3.3.0p0 (2023-12-25 revision 5124f9ac7513eb590c37717337c430cb93caa151)
Data Fields
pm_if_node Struct Reference

IfNode. More...

#include <ast.h>

Data Fields

pm_node_t base
 The embedded base node.
 
pm_location_t if_keyword_loc
 IfNode::if_keyword_loc.
 
struct pm_nodepredicate
 IfNode::predicate.
 
pm_location_t then_keyword_loc
 IfNode::then_keyword_loc.
 
struct pm_statements_nodestatements
 IfNode::statements.
 
struct pm_nodeconsequent
 IfNode::consequent.
 
pm_location_t end_keyword_loc
 IfNode::end_keyword_loc.
 
- Data Fields inherited from pm_node
pm_node_type_t type
 This represents the type of the node.
 
pm_node_flags_t flags
 This represents any flags on the node.
 
pm_location_t location
 This is the location of the node in the source.
 

Detailed Description

IfNode.

Type: PM_IF_NODE

Definition at line 2614 of file ast.h.

Field Documentation

◆ base

pm_node_t pm_if_node::base

The embedded base node.

Definition at line 2616 of file ast.h.

◆ consequent

struct pm_node* pm_if_node::consequent

IfNode::consequent.

Definition at line 2631 of file ast.h.

Referenced by pm_node_destroy().

◆ end_keyword_loc

pm_location_t pm_if_node::end_keyword_loc

IfNode::end_keyword_loc.

Definition at line 2634 of file ast.h.

◆ if_keyword_loc

pm_location_t pm_if_node::if_keyword_loc

IfNode::if_keyword_loc.

Definition at line 2619 of file ast.h.

◆ predicate

struct pm_node* pm_if_node::predicate

IfNode::predicate.

Definition at line 2622 of file ast.h.

Referenced by pm_node_destroy().

◆ statements

struct pm_statements_node* pm_if_node::statements

IfNode::statements.

Definition at line 2628 of file ast.h.

Referenced by pm_node_destroy().

◆ then_keyword_loc

pm_location_t pm_if_node::then_keyword_loc

IfNode::then_keyword_loc.

Definition at line 2625 of file ast.h.


The documentation for this struct was generated from the following file: