LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
tree::GenVisitor< Const > Class Template Reference

#include <visitor.hh>

Public Member Functions

virtual void operator() (typename Const< ProcFrag >::type &a)
 Visit an intermediate representation procedure fragment.
virtual void operator() (typename Const< DataFrag >::type &a)
 Visit an intermediate representation data fragment.
template<class E >
void operator() (E *e)
 To enable the use of standard algorithm on containers of pointers.
virtual void operator() (typename Const< Fragments >::type &fs)
 Visit a list of intermediate representation fragments.
Ctor & dtor.
virtual ~GenVisitor ()
 Destroy an Visitor.

Constructor & Destructor Documentation

template<template< typename > class Const>
tree::GenVisitor< Const >::~GenVisitor ( )
virtual

Destroy an Visitor.

Member Function Documentation

template<template< typename > class Const>
void tree::GenVisitor< Const >::operator() ( typename Const< ProcFrag >::type &  a)
virtual

Visit an intermediate representation procedure fragment.

template<template< typename > class Const>
void tree::GenVisitor< Const >::operator() ( typename Const< DataFrag >::type &  a)
virtual

Visit an intermediate representation data fragment.

template<template< typename > class Const>
template<class E >
void tree::GenVisitor< Const >::operator() ( E *  e)

To enable the use of standard algorithm on containers of pointers.

template<template< typename > class Const>
void tree::GenVisitor< Const >::operator() ( typename Const< Fragments >::type &  fs)
virtual

Visit a list of intermediate representation fragments.

References misc::for_each().


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