|
GCC Middle and Back End API Reference
|
Namespaces | |
| namespace | math |
| namespace | code |
Data Structures | |
| class | node |
| class | text |
| class | unary_node |
| class | binary_node |
| class | compound_node |
| class | inline_code |
| struct | lowering_options |
Enumerations | |
| enum class | kind { text , compound , math_half_open_interval , math_negation , math_product , math_subtraction , math_sum , code_element_expr , code_field_expr , code_infix_binary_op , inline_code } |
Functions | |
| static bool | child_needs_parens_p (const node &parent, const node &child) |
| static void | lower_and_append_with_any_parens (compound_node &dst_node, const node &parent, const node &child, const lowering_options &opts) |
| static void | dump_node_tree_to_pp (const node &n, text_art::theme *theme, pretty_printer *pp) |
| std::unique_ptr< text > | make_text_node (std::string str) |
|
strong |
References child_needs_parens_p(), code_element_expr, code_field_expr, code_infix_binary_op, compound, diagnostics::markup::node::get_kind(), inline_code, math_half_open_interval, math_negation, math_product, math_subtraction, math_sum, and text.
Referenced by child_needs_parens_p(), and lower_and_append_with_any_parens().
|
static |
References dump_node_tree_to_pp(), text_art::style_manager::get_or_create_id(), and text_art::get_style_from_color_cap_name().
Referenced by diagnostics::markup::node::dump(), and dump_node_tree_to_pp().
|
static |
Lower CHILD of PARENT and add to DST_NODE, wrapping lowered node in parentheses if necessary.
References diagnostics::markup::compound_node::add_child(), child_needs_parens_p(), diagnostics::markup::node::lower(), and lower_and_append_with_any_parens().
Referenced by diagnostics::markup::math::associative_op::lower(), diagnostics::markup::math::half_open_interval::lower(), diagnostics::markup::math::negation::lower(), diagnostics::markup::math::subtraction::lower(), and lower_and_append_with_any_parens().
|
inline |