GCC Middle and Back End API Reference
ana::symbolic::pp_element_for_node Class Reference

#include <symbolic-nodes.h>

Inheritance diagram for ana::symbolic::pp_element_for_node:
Collaboration diagram for ana::symbolic::pp_element_for_node:

Public Member Functions

 pp_element_for_node (const node &n, bool user_facing=true)
void add_to_phase_2 (pp_markup::context &ctxt) final override

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (element)

Private Attributes

const node & m_node
bool m_user_facing

Detailed Description

A pp_element subclass for printing a symbolic::node in pp_printf via %e.
This uses node::make_markup_node, lowers that, and prints the result
to the pretty_printer.   

Constructor & Destructor Documentation

◆ pp_element_for_node()

ana::symbolic::pp_element_for_node::pp_element_for_node ( const node & n,
bool user_facing = true )
inline

References m_node, and m_user_facing.

Member Function Documentation

◆ add_to_phase_2()

void ana::symbolic::pp_element_for_node::add_to_phase_2 ( pp_markup::context & ctxt)
finaloverridevirtual

Implements pp_markup::element.

◆ DISABLE_COPY_AND_ASSIGN()

pp_markup::element::DISABLE_COPY_AND_ASSIGN ( element )
privateinherited

References element().

Field Documentation

◆ m_node

const node& ana::symbolic::pp_element_for_node::m_node
private

Referenced by pp_element_for_node().

◆ m_user_facing

bool ana::symbolic::pp_element_for_node::m_user_facing
private

Referenced by pp_element_for_node().


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