MLIR  15.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::pdl_to_pdl_interp::PositionalPredicate Struct Reference

A PositionalPredicate is a predicate that is associated with a specific positional value. More...

#include "Conversion/PDLToPDLInterp/PredicateTree.h"

+ Collaboration diagram for mlir::pdl_to_pdl_interp::PositionalPredicate:

Public Member Functions

 PositionalPredicate (Position *pos, const PredicateBuilder::Predicate &predicate)
 

Public Attributes

Positionposition
 The position the predicate is applied to. More...
 
Qualifierquestion
 The question that the predicate applies. More...
 
Qualifieranswer
 The expected answer of the predicate. More...
 

Detailed Description

A PositionalPredicate is a predicate that is associated with a specific positional value.

Definition at line 30 of file PredicateTree.h.

Constructor & Destructor Documentation

◆ PositionalPredicate()

mlir::pdl_to_pdl_interp::PositionalPredicate::PositionalPredicate ( Position pos,
const PredicateBuilder::Predicate predicate 
)
inline

Definition at line 31 of file PredicateTree.h.

Member Data Documentation

◆ answer

Qualifier* mlir::pdl_to_pdl_interp::PositionalPredicate::answer

The expected answer of the predicate.

Definition at line 42 of file PredicateTree.h.

Referenced by mlir::pdl_to_pdl_interp::BoolNode::getAnswer(), and mlir::pdl_to_pdl_interp::BoolNode::getSuccessNode().

◆ position

Position* mlir::pdl_to_pdl_interp::PositionalPredicate::position

The position the predicate is applied to.

Definition at line 36 of file PredicateTree.h.

Referenced by buildPredicateList(), mlir::pdl_to_pdl_interp::MatcherNode::getMatcherTypeID(), and mlir::pdl_to_pdl_interp::MatcherNode::getPosition().

◆ question

Qualifier* mlir::pdl_to_pdl_interp::PositionalPredicate::question

The question that the predicate applies.

Definition at line 39 of file PredicateTree.h.

Referenced by buildPredicateList(), mlir::pdl_to_pdl_interp::MatcherNode::getMatcherTypeID(), and mlir::pdl_to_pdl_interp::MatcherNode::getQuestion().


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