LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
assem::Comment Class Reference

#include <comment.hh>

Inheritance diagram for assem::Comment:
Collaboration diagram for assem::Comment:

Public Member Functions

 Comment (const std::string &comment)
virtual std::ostream & print (std::ostream &ostr) const
const temp::temp_list_typeuse () const
temp::temp_list_typeuse ()
const temp::temp_list_typedef () const
temp::temp_list_typedef ()
const temp::label_list_typejumps () const
virtual std::ostream & dump (std::ostream &ostr) const
 Output the TempMap m onto ostr.

Static Public Attributes

static const misc::xalloc< bool > debug
 Set whether Instr::print report debugging information? Return the previous value.

Protected Attributes

std::string assem_
temp::temp_list_type use_
temp::temp_list_type def_
temp::label_list_type jumps_

Constructor & Destructor Documentation

assem::Comment::Comment ( const std::string &  comment)
inline

Member Function Documentation

const temp::temp_list_type & assem::Instr::def ( ) const
inlineinherited
temp::temp_list_type & assem::Instr::def ( )
inlineinherited

References assem::Instr::def_.

std::ostream & assem::Instr::dump ( std::ostream &  ostr) const
virtualinherited
const temp::label_list_type & assem::Instr::jumps ( ) const
inlineinherited

References assem::Instr::jumps_.

Referenced by assem::Instr::dump().

std::ostream & assem::Comment::print ( std::ostream &  ostr) const
inlinevirtual

References assem::Instr::assem_.

const temp::temp_list_type & assem::Instr::use ( ) const
inlineinherited
temp::temp_list_type & assem::Instr::use ( )
inlineinherited

References assem::Instr::use_.

Member Data Documentation

std::string assem::Instr::assem_
protectedinherited

Referenced by assem::Instr::dump(), and print().

const misc::xalloc< bool > assem::Instr::debug
staticinherited

Set whether Instr::print report debugging information? Return the previous value.

Referenced by assem::Instr::dump(), and target::instructions_dump().

temp::temp_list_type assem::Instr::def_
protectedinherited
temp::label_list_type assem::Instr::jumps_
protectedinherited

Referenced by assem::Instr::jumps().

temp::temp_list_type assem::Instr::use_
protectedinherited

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