Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::ast::Emitter Class Reference

Public Member Functions

 Emitter (AST &ast)
 
ASTast () const
 
Worldworld ()
 
Driverdriver ()
 
void register_annex (AnnexInfo *annex, sub_t sub, Ref def)
 

Public Attributes

absl::node_hash_map< Sigma *, fe::SymMap< size_t >, GIDHash< const Def * >, GIDEq< const Def * > > sigma2sym2idx
 

Detailed Description

Definition at line 9 of file emit.cpp.

Constructor & Destructor Documentation

◆ Emitter()

thorin::ast::Emitter::Emitter ( AST ast)
inline

Definition at line 11 of file emit.cpp.

Member Function Documentation

◆ ast()

AST & thorin::ast::Emitter::ast ( ) const
inline

Definition at line 14 of file emit.cpp.

Referenced by world().

◆ driver()

Driver & thorin::ast::Emitter::driver ( )
inline

Definition at line 16 of file emit.cpp.

References thorin::World::driver(), and world().

◆ register_annex()

void thorin::ast::Emitter::register_annex ( AnnexInfo annex,
sub_t  sub,
Ref  def 
)
inline

Definition at line 18 of file emit.cpp.

References thorin::ast::AnnexInfo::id, thorin::World::register_annex(), and world().

◆ world()

World & thorin::ast::Emitter::world ( )
inline

Definition at line 15 of file emit.cpp.

References ast(), and thorin::ast::AST::world().

Referenced by driver(), and register_annex().

Member Data Documentation

◆ sigma2sym2idx

absl::node_hash_map<Sigma*, fe::SymMap<size_t>, GIDHash<const Def*>, GIDEq<const Def*> > thorin::ast::Emitter::sigma2sym2idx

Definition at line 25 of file emit.cpp.


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