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