Esempio n. 1
0
 public override void ExitImprt(CfgGramParser.ImprtContext context)
 {
     if (Import.Type == ImportType.NonTerminal && string.IsNullOrWhiteSpace(Import.LocalName))
     {
         Import.LocalName = Import.Name;
     }
     Grammar.AddImport(Import);
 }
Esempio n. 2
0
 public override void EnterImprt(CfgGramParser.ImprtContext context)
 {
     Import = new Import();
 }