summaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index 43971ab..0360f7e 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -120,16 +120,6 @@ typedef struct AstTreeVariables {
size_t size;
} AstTreeVariables;
-typedef struct AstTreeVariableCandidate {
- AstTreeVariable *variable;
- size_t index;
-} AstTreeVariableCandidate;
-
-typedef struct AstTreeVariableCandidates {
- AstTreeVariableCandidate *data;
- size_t size;
-} AstTreeVariableCandidates;
-
typedef struct AstTrees {
AstTree **data;
size_t size;
@@ -218,6 +208,7 @@ typedef struct AstTreeHelper {
typedef struct AstTreeSetTypesHelper {
AstTree *lookingType;
AstTreeVariables dependencies;
+ AstTreeVariables variables;
} AstTreeSetTypesHelper;
typedef struct AstTreeStruct {
@@ -281,8 +272,6 @@ AstTreeRoot *makeAstTree(ParserNode *parsedRoot);
bool pushVariable(AstTreeHelper *helper, AstTreeVariables *variables,
AstTreeVariable *variable);
-AstTreeVariableCandidates *getAllVariables(AstTreeHelper *helper,
- char *name_begin, char *name_end);
AstTree *astTreeParse(ParserNode *parserNode, AstTreeHelper *helper);
AstTree *astTreeParseFunction(ParserNode *parserNode, AstTreeHelper *helper);