LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::symbolize::MarkupNode Struct Reference

A node of symbolizer markup. More...

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

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.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ Fields

SmallVector<StringRef> 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: