projects
/
satune.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run tabbing pass
[satune.git]
/
src
/
AST
/
function.h
diff --git
a/src/AST/function.h
b/src/AST/function.h
index 9b6f2547ec1a3c7cd02436227ed1bafbc215522d..2cd5ccae7f7ef699cfa2b5c3ea080e11ac912069 100644
(file)
--- a/
src/AST/function.h
+++ b/
src/AST/function.h
@@
-8,15
+8,15
@@
#define GETFUNCTIONTYPE(o) (((Function *)o)->type)
class Function {
#define GETFUNCTIONTYPE(o) (((Function *)o)->type)
class Function {
-
public:
- Function(FunctionType _type) : type(_type) {}
+public:
+
Function(FunctionType _type) : type(_type) {}
FunctionType type;
MEMALLOC;
virtual ~Function() {}
};
class FunctionOperator : public Function {
FunctionType type;
MEMALLOC;
virtual ~Function() {}
};
class FunctionOperator : public Function {
-
public:
+public:
ArithOp op;
Array<Set *> domains;
Set *range;
ArithOp op;
Array<Set *> domains;
Set *range;
@@
-28,7
+28,7
@@
class FunctionOperator : public Function {
};
class FunctionTable : public Function {
};
class FunctionTable : public Function {
-
public:
+public:
Table *table;
UndefinedBehavior undefBehavior;
FunctionTable (Table *table, UndefinedBehavior behavior);
Table *table;
UndefinedBehavior undefBehavior;
FunctionTable (Table *table, UndefinedBehavior behavior);