Example #1
0
 /// <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);
 }
Example #2
0
		/// <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);
		}