MLIR  19.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mlir::tblgen::ClassDeclarationBase< DeclKind > Class Template Reference

Base class for class declarations. More...

#include "mlir/TableGen/Class.h"

+ Inheritance diagram for mlir::tblgen::ClassDeclarationBase< DeclKind >:

Public Types

using Base = ClassDeclarationBase< DeclKind >
- Public Types inherited from mlir::tblgen::ClassDeclaration
enum  Kind {
  Method , UsingDeclaration , VisibilityDeclaration , Field ,
 Kinds for LLVM-style RTTI. More...

Public Member Functions

 ClassDeclarationBase ()
- Public Member Functions inherited from mlir::tblgen::ClassDeclaration
virtual ~ClassDeclaration ()=default
 ClassDeclaration (Kind kind)
 Create a class declaration with a given kind. More...
Kind getKind () const
 Get the class declaration kind. More...
virtual void writeDeclTo (raw_indented_ostream &os) const =0
 Write the declaration. More...
virtual void writeDefTo (raw_indented_ostream &os, StringRef namePrefix) const
 Write the definition, if any. More...

Static Public Member Functions

static bool classof (const ClassDeclaration *other)

Detailed Description

template<ClassDeclaration::Kind DeclKind>
class mlir::tblgen::ClassDeclarationBase< DeclKind >

Base class for class declarations.

Definition at line 294 of file Class.h.

Member Typedef Documentation

◆ Base

template<ClassDeclaration::Kind DeclKind>
using mlir::tblgen::ClassDeclarationBase< DeclKind >::Base = ClassDeclarationBase<DeclKind>

Definition at line 296 of file Class.h.

Constructor & Destructor Documentation

◆ ClassDeclarationBase()

template<ClassDeclaration::Kind DeclKind>
mlir::tblgen::ClassDeclarationBase< DeclKind >::ClassDeclarationBase ( )

Definition at line 297 of file Class.h.

Member Function Documentation

◆ classof()

template<ClassDeclaration::Kind DeclKind>
static bool mlir::tblgen::ClassDeclarationBase< DeclKind >::classof ( const ClassDeclaration other)

Definition at line 299 of file Class.h.

References mlir::tblgen::ClassDeclaration::getKind().

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