MLIR  19.0.0git
Static Public Member Functions | List of all members
mlir::FieldParser< std::optional< AttributeT >, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, std::optional< AttributeT > > > Struct Template Reference

Parse an Optional attribute. More...

#include "mlir/IR/DialectImplementation.h"

Static Public Member Functions

static FailureOr< std::optional< AttributeT > > parse (AsmParser &parser)
 

Detailed Description

template<typename AttributeT>
struct mlir::FieldParser< std::optional< AttributeT >, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, std::optional< AttributeT > > >

Parse an Optional attribute.

Definition at line 110 of file DialectImplementation.h.

Member Function Documentation

◆ parse()

template<typename AttributeT >
static FailureOr<std::optional<AttributeT> > mlir::FieldParser< std::optional< AttributeT >, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, std::optional< AttributeT > > >::parse ( AsmParser parser)
inlinestatic

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