MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::PyPrintAccumulator Struct Reference

Accumulates into a python string from a method that accepts an MlirStringCallback. More...

#include "Bindings/Python/PybindUtils.h"

Public Member Functions

void * getUserData ()
 
MlirStringCallback getCallback ()
 
pybind11::str join ()
 

Public Attributes

pybind11::list parts
 

Detailed Description

Accumulates into a python string from a method that accepts an MlirStringCallback.

Definition at line 102 of file PybindUtils.h.

Member Function Documentation

◆ getCallback()

MlirStringCallback mlir::PyPrintAccumulator::getCallback ( )
inline

Definition at line 107 of file PybindUtils.h.

References MlirStringRef::data, MlirStringRef::length, and parts.

◆ getUserData()

void* mlir::PyPrintAccumulator::getUserData ( )
inline

Definition at line 105 of file PybindUtils.h.

◆ join()

pybind11::str mlir::PyPrintAccumulator::join ( )
inline

Definition at line 117 of file PybindUtils.h.

References parts.

Member Data Documentation

◆ parts

pybind11::list mlir::PyPrintAccumulator::parts

Definition at line 103 of file PybindUtils.h.

Referenced by getCallback(), and join().


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