Beispiel #1
0
 public override void ExitOptionPrivateModuleStmt(VBAParser.OptionPrivateModuleStmtContext context)
 {
     if (_moduleDeclaration.DeclarationType == DeclarationType.ProceduralModule)
     {
         ((ProceduralModuleDeclaration)_moduleDeclaration).IsPrivateModule = true;
     }
     OnNewDeclaration(CreateDeclaration(context.GetText(), string.Empty, Accessibility.Implicit, DeclarationType.ModuleOption, context, context.GetSelection()));
 }
Beispiel #2
0
 public override void ExitOptionPrivateModuleStmt(VBAParser.OptionPrivateModuleStmtContext context)
 {
     _declarations.Add(CreateDeclaration(context.GetText(), string.Empty, Accessibility.Implicit, DeclarationType.ModuleOption, context, context.GetSelection()));
 }