MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::ast::RuleExpr Class Reference

Rule dom More...

#include <mim/ast/ast.h>

Inheritance diagram for mim::ast::RuleExpr:
[legend]

Public Member Functions

 RuleExpr (Loc loc, Ptr< Expr > dom)
const Exprdom () const
void bind (Scopes &) const override
void stream (fe::Tab &, std::ostream &) const override
Public Member Functions inherited from mim::ast::Expr
const Defemit (Emitter &) const
const Defemit_decl (Emitter &, const Def *type) const
void emit_body (Emitter &, const Def *decl) const
Public Member Functions inherited from mim::ast::Node
Loc loc () const
void dump () const

Private Member Functions

const Defemit_ (Emitter &) const override

Additional Inherited Members

Protected Member Functions inherited from mim::ast::Expr
 Expr (Loc loc)
Protected Member Functions inherited from mim::ast::Node
 Node (Loc loc)

Detailed Description

Rule dom

Definition at line 574 of file ast.h.

Constructor & Destructor Documentation

◆ RuleExpr()

mim::ast::RuleExpr::RuleExpr ( Loc loc,
Ptr< Expr > dom )
inline

Definition at line 576 of file ast.h.

References dom(), mim::ast::Expr::Expr(), and mim::ast::Node::loc().

Member Function Documentation

◆ bind()

void mim::ast::RuleExpr::bind ( Scopes & s) const
overridevirtual

Implements mim::ast::Expr.

Definition at line 219 of file bind.cpp.

References dom().

◆ dom()

const Expr * mim::ast::RuleExpr::dom ( ) const
inline

Definition at line 580 of file ast.h.

References mim::ast::Expr::Expr().

Referenced by bind(), emit_(), RuleExpr(), and stream().

◆ emit_()

const Def * mim::ast::RuleExpr::emit_ ( Emitter & e) const
overrideprivatevirtual

Implements mim::ast::Expr.

Definition at line 171 of file emit.cpp.

References dom(), and mim::ast::Expr::emit().

◆ stream()

void mim::ast::RuleExpr::stream ( fe::Tab & tab,
std::ostream & os ) const
overridevirtual

Implements mim::ast::Node.

Definition at line 140 of file stream.cpp.

References dom(), and mim::ast::S::S().


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