The class represents an Attribute constraint, and constrains a variable to be an Attribute.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
The class represents an Attribute constraint, and constrains a variable to be an Attribute.
Definition at line 748 of file Nodes.h.
◆ AttrConstraintDecl()
mlir::pdll::ast::AttrConstraintDecl::AttrConstraintDecl |
( |
SMRange |
loc, |
|
|
Expr * |
typeExpr |
|
) |
| |
|
inlineprotected |
◆ create()
◆ getTypeExpr() [1/2]
Expr* mlir::pdll::ast::AttrConstraintDecl::getTypeExpr |
( |
| ) |
|
|
inline |
Return the optional type the attribute is constrained to.
Definition at line 755 of file Nodes.h.
References typeExpr.
◆ getTypeExpr() [2/2]
const Expr* mlir::pdll::ast::AttrConstraintDecl::getTypeExpr |
( |
| ) |
const |
|
inline |
◆ typeExpr
Expr* mlir::pdll::ast::AttrConstraintDecl::typeExpr |
|
protected |
The documentation for this class was generated from the following files: