LLVM 17.0.0git
llvm::symbolize::MarkupNode Struct Reference

A node of symbolizer markup. More...

#include "llvm/DebugInfo/Symbolize/Markup.h"

Collaboration diagram for llvm::symbolize::MarkupNode:
[legend]

## Public Member Functions

bool operator== (const MarkupNode &Other) const

bool operator!= (const MarkupNode &Other) const

## Public Attributes

StringRef Text
The full text of this node in the input.

StringRef Tag
If this represents an element, the tag. Otherwise, empty.

SmallVector< StringRefFields
If this represents an element with fields, a list of the field contents.

## Detailed Description

A node of symbolizer markup.

If only the Text field is set, this represents a region of text outside a markup element. ANSI SGR control codes are also reported this way; if detected, then the control code will be the entirety of the Text field, and any surrounding text will be reported as preceding and following nodes.

Definition at line 33 of file Markup.h.

## ◆ operator!=()

 bool llvm::symbolize::MarkupNode::operator!= ( const MarkupNode & Other ) const
inline

Definition at line 47 of file Markup.h.

References llvm::Other.

## ◆ operator==()

 bool llvm::symbolize::MarkupNode::operator== ( const MarkupNode & Other ) const
inline

Definition at line 44 of file Markup.h.

References Fields, llvm::Other, and Text.

## ◆ Fields

 SmallVector llvm::symbolize::MarkupNode::Fields

If this represents an element with fields, a list of the field contents.

Otherwise, empty.

Definition at line 42 of file Markup.h.

Referenced by operator==().

## ◆ Tag

 StringRef llvm::symbolize::MarkupNode::Tag

If this represents an element, the tag. Otherwise, empty.

Definition at line 38 of file Markup.h.

## ◆ Text

 StringRef llvm::symbolize::MarkupNode::Text

The full text of this node in the input.

Definition at line 35 of file Markup.h.

Referenced by operator==().

The documentation for this struct was generated from the following file:
• include/llvm/DebugInfo/Symbolize/Markup.h