Type-pp.cxx File Reference

#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <dirent.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <libsherpa/UExcept.hxx>
#include "Options.hxx"
#include "UocInfo.hxx"
#include "AST.hxx"
#include "Type.hxx"
#include "TypeInfer.hxx"
#include "TypeScheme.hxx"
#include "TypeMut.hxx"
#include "Typeclass.hxx"
#include "inter-pass.hxx"
#include "Unify.hxx"

Go to the source code of this file.

Functions

static string printName (shared_ptr< AST > ast)
static int typePrecedence (TypeTag ttag)
static bool shouldParenWrap (TypeTag parent, TypeTag child)


Function Documentation

static string printName ( shared_ptr< AST ast  )  [static]

Definition at line 69 of file Type-pp.cxx.

static bool shouldParenWrap ( TypeTag  parent,
TypeTag  child 
) [static]

Definition at line 426 of file Type-pp.cxx.

References typePrecedence().

static int typePrecedence ( TypeTag  ttag  )  [static]

Definition at line 404 of file Type-pp.cxx.

Referenced by shouldParenWrap().


Generated on Thu May 17 23:59:16 2012 for BitC Compiler by  doxygen 1.4.7