public CodeTypeAnalysis(Context ctx) { ctx.put(CONTEXT_KEY, this); symtab = Symtab.instance(ctx); log = Log.instance(ctx); typings = Typings.instance(ctx); check = Check.instance(ctx); operators = Operators.instance(ctx); }
private Operators(Context ctx) { ctx.put(CONTEXT_KEY, this); symtab = Symtab.instance(ctx); log = Log.instance(ctx); typings = Typings.instance(ctx); initOperators(); }
public DeclarationAnalysis(Context ctx) { ctx.put(CONTEXT_KEY, this); Symtab symtab = Symtab.instance(ctx); Check check = Check.instance(ctx); Log log = Log.instance(ctx); enterTypes = new EnterTypes(symtab, check, log); enterMembers = new EnterMembers(symtab, check, log); }
private Typings(Context ctx) { ctx.put(CONTEXT_KEY, this); symtab = Symtab.instance(ctx); }
public EnterTypes(Symtab symtab, Check check, Log log) { this.symtab = symtab; this.check = check; this.log = log; }