public void AddCall(ParserRuleContext context, eeFunction callingFunction) { stack.Add(new Call(context, callingFunction)); }
public void RemoveCall(eeFunction closingFunction) { this.stack.RemoveAll(c => c.calledFunction == closingFunction); }
public Call(ParserRuleContext ctx, eeFunction func) { callContext = ctx; calledFunction = func; }