summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/newexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/newexp.h')
-rw-r--r--Build/source/utils/asymptote/newexp.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/Build/source/utils/asymptote/newexp.h b/Build/source/utils/asymptote/newexp.h
deleted file mode 100644
index d386b181007..00000000000
--- a/Build/source/utils/asymptote/newexp.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*****
- * newexp.h
- * Andy Hammerlindl 2003/07/28
- *
- * Handles the abstract syntax for expressions the create new objects,
- * such as record, array, and function constructors.
- *****/
-
-#ifndef NEWEXP_H
-#define NEWEXP_H
-
-#include "exp.h"
-#include "dec.h"
-#include "fundec.h"
-#include "entry.h"
-
-namespace absyntax {
-
-typedef fundef newFunctionExp;
-
-class newRecordExp : public exp {
- ty *result;
-
- static bool encodeLevel(position pos, coenv &e, trans::tyEntry *ent);
-public:
- newRecordExp(position pos, ty *result)
- : exp(pos), result(result) {}
-
- void prettyprint(ostream &out, Int indent);
-
- static types::ty *transFromTyEntry(position pos, coenv &e,
- trans::tyEntry *ent);
-
- types::ty *trans(coenv &e);
- types::ty *getType(coenv &e);
-};
-
-class newArrayExp : public exp {
- ty *celltype;
- explist *dimexps;
- dimensions *dims;
- arrayinit *ai;
-
-public:
- newArrayExp(position pos,
- ty *celltype,
- explist *dimexps,
- dimensions *dims,
- arrayinit *ai)
- : exp(pos), celltype(celltype), dimexps(dimexps), dims(dims), ai(ai) {}
-
- void prettyprint(ostream &out, Int indent);
-
- types::ty *trans(coenv &e);
- types::ty *getType(coenv &e);
-};
-
-} // namespace absyntax
-
-#endif