MLIR  20.0.0git
Public Types | Static Public Member Functions | List of all members
mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > > Struct Template Reference

Parse any container that supports back insertion as a list. More...

#include "mlir/IR/DialectImplementation.h"

Public Types

using ElementT = typename ContainerT::value_type
 

Static Public Member Functions

static FailureOr< ContainerT > parse (AsmParser &parser)
 

Detailed Description

template<typename ContainerT>
struct mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > >

Parse any container that supports back insertion as a list.

Definition at line 173 of file DialectImplementation.h.

Member Typedef Documentation

◆ ElementT

template<typename ContainerT >
using mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > >::ElementT = typename ContainerT::value_type

Definition at line 177 of file DialectImplementation.h.

Member Function Documentation

◆ parse()

template<typename ContainerT >
static FailureOr<ContainerT> mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > >::parse ( AsmParser parser)
inlinestatic

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