tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::DiagnosticRendererNode Class Reference

Display diagnostics in a given display format. More...

#include <diagnostic.h>

Inheritance diagram for tvm::DiagnosticRendererNode:
Collaboration diagram for tvm::DiagnosticRendererNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (DiagnosticRendererNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::TypedFunction< void(DiagnosticContext ctx)> renderer
 

Static Public Attributes

static constexpr const char * _type_key = "DiagnosticRenderer"
 

Detailed Description

Display diagnostics in a given display format.

A diagnostic renderer is responsible for converting the raw diagnostics into consumable output.

For example the terminal renderer will render a sequence of compiler diagnostics to std::out and std::err in a human readable form.

Member Function Documentation

◆ RegisterReflection()

static void tvm::DiagnosticRendererNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::DiagnosticRendererNode::TVM_DECLARE_FINAL_OBJECT_INFO ( DiagnosticRendererNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::DiagnosticRendererNode::_type_key = "DiagnosticRenderer"
staticconstexpr

◆ renderer

ffi::TypedFunction<void(DiagnosticContext ctx)> tvm::DiagnosticRendererNode::renderer

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