コード例 #1
0
 public override void ExitPublicTypeDeclaration(VBAParser.PublicTypeDeclarationContext context)
 {
     SetCurrentScope();
 }
コード例 #2
0
 public override void ExitPublicTypeDeclaration(VBAParser.PublicTypeDeclarationContext context)
 {
     _parentDeclaration = _moduleDeclaration;
 }
コード例 #3
0
 public override void EnterPublicTypeDeclaration(VBAParser.PublicTypeDeclarationContext context)
 {
     SetCurrentScope(Identifier.GetName(context.udtDeclaration().untypedIdentifier()), DeclarationType.UserDefinedType);
 }
コード例 #4
0
 public override void EnterPublicTypeDeclaration(VBAParser.PublicTypeDeclarationContext context)
 {
     AddUdtDeclaration(context.udtDeclaration(), Accessibility.Public, context);
 }