#include <stdint.h>#include <stdlib.h>#include <dirent.h>#include <fstream>#include <iostream>#include <string>#include "AST.hxx"#include "Environment.hxx"#include "Symtab.hxx"#include "Unify.hxx"#include "inter-pass.hxx"#include <sstream>Go to the source code of this file.
Functions | |
| bool | isTrivialInit (AST *ast) |
| AST * | FixDefs (AST *mod) |
| bool | fixinit (std::ostream &errStream, UocInfo *uoc) |
Definition at line 98 of file Fixinit.cxx.
References AST::addChild(), argVec, TypeScheme::ast, AST::astType, at_apply, at_argVec, at_begin, at_constraints, at_define, at_identPattern, at_lambda, AST::children, AST::genSym(), isTrivialInit(), and AST::loc.
Referenced by fixinit().
| bool fixinit | ( | std::ostream & | errStream, | |
| UocInfo * | uoc | |||
| ) |
| bool isTrivialInit | ( | AST * | ast | ) |
Definition at line 54 of file Fixinit.cxx.
References TypeScheme::ast, at_begin, at_boolLiteral, at_charLiteral, at_floatLiteral, at_ident, at_intLiteral, at_lambda, at_stringLiteral, at_unit, and isTrivialInit().
1.4.7