PandA-2024.02
Public Member Functions
TreeNodeConstSorter Class Reference

#include <tree_node.hpp>

Inheritance diagram for TreeNodeConstSorter:
Inheritance graph
[legend]
Collaboration diagram for TreeNodeConstSorter:
Collaboration graph
[legend]

Public Member Functions

 TreeNodeConstSorter ()
 Constructor. More...
 
bool operator() (const tree_nodeConstRef &x, const tree_nodeConstRef &y) const
 Compare position of two const tree nodes. More...
 

Detailed Description

Definition at line 215 of file tree_node.hpp.

Constructor & Destructor Documentation

◆ TreeNodeConstSorter()

TreeNodeConstSorter::TreeNodeConstSorter ( )
default

Constructor.

Referenced by expr_pack_expansion::visit().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

bool TreeNodeConstSorter::operator() ( const tree_nodeConstRef x,
const tree_nodeConstRef y 
) const

Compare position of two const tree nodes.

Parameters
xis the first tree node
yis the second tree node
Returns
true if index of x is less than y

Definition at line 1626 of file tree_node.cpp.

References tree_node::index, and TreeNodeSorter::TreeNodeSorter().

Here is the call graph for this function:

The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:04:08 for PandA-2024.02 by doxygen 1.8.13