Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::JSONHighlighter Struct Reference
Inheritance diagram for duckdb::JSONHighlighter:
Collaboration diagram for duckdb::JSONHighlighter:

Public Member Functions

 JSONHighlighter (BoxRenderValue &render_value)
 
- Public Member Functions inherited from duckdb::JSONParser
bool Process (const string &value)
 

Protected Member Functions

void HandleNull () override
 
void HandleQuoteStart (char quote) override
 
void HandleQuoteEnd (char quote) override
 
- Protected Member Functions inherited from duckdb::JSONParser
virtual void HandleBracketOpen (char bracket)
 
virtual void HandleBracketClose (char bracket)
 
virtual void HandleComma (char comma)
 
virtual void HandleColon ()
 
virtual void HandleCharacter (char c)
 
virtual void HandleEscapeStart (char c)
 
virtual void Finish ()
 
bool SeparatorIsMatching (Separator &sep, char closing_sep)
 
idx_t Depth () const
 

Protected Attributes

BoxRenderValuerender_value
 
- Protected Attributes inherited from duckdb::JSONParser
JSONState state = JSONState::REGULAR
 
vector< Separatorseparators
 
idx_t pos = 0
 
bool success = true
 

Additional Inherited Members

- Protected Types inherited from duckdb::JSONParser
enum class  JSONState { REGULAR , IN_QUOTE , ESCAPE }
 

Constructor & Destructor Documentation

◆ JSONHighlighter()

duckdb::JSONHighlighter::JSONHighlighter ( BoxRenderValue render_value)
inlineexplicit
48805 : render_value(render_value) {
48806 }

Member Function Documentation

◆ HandleNull()

void duckdb::JSONHighlighter::HandleNull ( )
inlineoverrideprotectedvirtual

Reimplemented from duckdb::JSONParser.

48809 {
48810 render_value.annotations.emplace_back(ResultRenderType::NULL_VALUE, pos);
48811 render_value.annotations.emplace_back(render_value.render_mode, pos + 4);
48812 }

◆ HandleQuoteStart()

void duckdb::JSONHighlighter::HandleQuoteStart ( char  quote)
inlineoverrideprotectedvirtual

Reimplemented from duckdb::JSONParser.

48814 {
48815 render_value.annotations.emplace_back(ResultRenderType::STRING_LITERAL, pos);
48816 }

◆ HandleQuoteEnd()

void duckdb::JSONHighlighter::HandleQuoteEnd ( char  quote)
inlineoverrideprotectedvirtual

Reimplemented from duckdb::JSONParser.

48818 {
48819 render_value.annotations.emplace_back(render_value.render_mode, pos + 1);
48820 }

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