/// <summary> /// Generate duck-type interface file for the specified AST. /// </summary> /// <param name="globalCode">Source AST</param> public void ProcessModule(GlobalCode globalCode) { currentModule = new DuckModule(globalCode.SourceUnit.SourceFile.RelativePath.ToString()); globalCode.VisitMe(this); moduleList.Add(currentModule); }