Skip to content

Commit

Permalink
Merge 02d4ccd into 5f81ac4
Browse files Browse the repository at this point in the history
  • Loading branch information
deavmi committed May 6, 2024
2 parents 5f81ac4 + 02d4ccd commit f61bdbb
Showing 1 changed file with 0 additions and 36 deletions.
36 changes: 0 additions & 36 deletions source/tlang/compiler/typecheck/dependency/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -352,42 +352,6 @@ public class DNode
}
}


/**
* DNodeGenerator (Next-generation) base
*
* This is a base class for a DNode generator,
* all it requires to construct is:
*
* 1. Context (to know what we are in or so)
* 2. Statements[] (to know what to process)
* 3. TypeChecker (to know how to resolve names)
*
*/
public class DNodeGeneratorBase
{
/* Type checker (for name lookups) */
private TypeChecker tc;

/* Statements to process */
private Statement[] statements;

/* Information about our current container for said statements (and initscope) */
private Context context;

this(TypeChecker tc, Statement[] statements, Context context)
{
this.tc = tc;
this.statements = statements;
this.context = context;
}
}






public final class DFunctionInnerGenerator : DNodeGenerator
{
private Function func;
Expand Down

0 comments on commit f61bdbb

Please sign in to comment.