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