CIRCT  20.0.0git
Public Member Functions | Private Attributes | List of all members
circt::ExportSystemC::MatchResult Class Reference

This class allows a pattern's match function for inlining to pass its result's precedence to the pattern that requested the expression. More...

#include <EmissionPattern.h>

Collaboration diagram for circt::ExportSystemC::MatchResult:
Collaboration graph
[legend]

Public Member Functions

 MatchResult ()=default
 
 MatchResult (Precedence precedence)
 
bool failed () const
 
Precedence getPrecedence () const
 

Private Attributes

bool isFailure = true
 
Precedence precedence
 

Detailed Description

This class allows a pattern's match function for inlining to pass its result's precedence to the pattern that requested the expression.

Definition at line 75 of file EmissionPattern.h.

Constructor & Destructor Documentation

◆ MatchResult() [1/2]

circt::ExportSystemC::MatchResult::MatchResult ( )
default

◆ MatchResult() [2/2]

circt::ExportSystemC::MatchResult::MatchResult ( Precedence  precedence)
inline

Definition at line 78 of file EmissionPattern.h.

Member Function Documentation

◆ failed()

bool circt::ExportSystemC::MatchResult::failed ( ) const
inline

Definition at line 81 of file EmissionPattern.h.

References isFailure.

Referenced by circt::ExportSystemC::EmissionPrinter::getInlinable().

◆ getPrecedence()

Precedence circt::ExportSystemC::MatchResult::getPrecedence ( ) const
inline

Definition at line 82 of file EmissionPattern.h.

References precedence.

Referenced by circt::ExportSystemC::EmissionPrinter::getInlinable().

Member Data Documentation

◆ isFailure

bool circt::ExportSystemC::MatchResult::isFailure = true
private

Definition at line 85 of file EmissionPattern.h.

Referenced by failed().

◆ precedence

Precedence circt::ExportSystemC::MatchResult::precedence
private

Definition at line 86 of file EmissionPattern.h.

Referenced by getPrecedence().


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