summaryrefslogtreecommitdiff
path: root/src/compiler.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-08-09 10:39:31 -0400
committerAdrian Thurston <thurston@complang.org>2015-08-09 10:39:31 -0400
commite54d88ee00461f0dc2aead950a232a721ee4644d (patch)
treee159fba2422ff414cf872cce975f19ca28ff889e /src/compiler.h
parent42314c5f0f87c45f6968c7c8fcfbfb8eae9f8ad6 (diff)
downloadcolm-e54d88ee00461f0dc2aead950a232a721ee4644d.tar.gz
now scoping functions inside the namespaces they are declared in
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h
index e7cd3fc8..e953c473 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -1045,13 +1045,30 @@ LangEl *findType( Compiler *pd, Namespace *nspace, const String &data );
ObjectMethod *initFunction( UniqueType *retType, ObjectDef *obj,
const String &name, int methIdWV, int methIdWC,
bool isConst, bool useFnInstr = false, GenericType *useGeneric = 0 );
+
ObjectMethod *initFunction( UniqueType *retType, ObjectDef *obj,
const String &name, int methIdWV, int methIdWC,
UniqueType *arg1, bool isConst, bool useFnInstr = false,
GenericType *useGeneric = 0 );
+
ObjectMethod *initFunction( UniqueType *retType, ObjectDef *obj,
const String &name, int methIdWV, int methIdWC,
UniqueType *arg1, UniqueType *arg2, bool isConst,
bool useFnInstr = false, GenericType *useGeneric = 0 );
+ObjectMethod *initFunction( UniqueType *retType, Namespace *nspace, ObjectDef *obj,
+ const String &name, int methIdWV, int methIdWC,
+ bool isConst, bool useFnInstr = false, GenericType *useGeneric = 0 );
+
+ObjectMethod *initFunction( UniqueType *retType, Namespace *nspace, ObjectDef *obj,
+ const String &name, int methIdWV, int methIdWC,
+ UniqueType *arg1, bool isConst, bool useFnInstr = false,
+ GenericType *useGeneric = 0 );
+
+ObjectMethod *initFunction( UniqueType *retType, Namespace *nspace, ObjectDef *obj,
+ const String &name, int methIdWV, int methIdWC,
+ UniqueType *arg1, UniqueType *arg2, bool isConst,
+ bool useFnInstr = false, GenericType *useGeneric = 0 );
+
+
#endif /* _PARSEDATA_H */