Browse Source

Visit class events in the class visitor.

pull/1/head
triton 13 years ago
parent
commit
cd51fecf5b
  1. 5
      src/Bridge/ASTVisitor.cs

5
src/Bridge/ASTVisitor.cs

@ -154,6 +154,9 @@ namespace Cxxi @@ -154,6 +154,9 @@ namespace Cxxi
foreach (var method in @class.Methods)
VisitMethodDecl(method);
foreach (var @event in @class.Events)
VisitEvent(@event);
return true;
}
@ -161,6 +164,7 @@ namespace Cxxi @@ -161,6 +164,7 @@ namespace Cxxi
{
if (!VisitDeclaration(field))
return false;
return field.Type.Visit(this, field.QualifiedType.Qualifiers);
}
@ -168,6 +172,7 @@ namespace Cxxi @@ -168,6 +172,7 @@ namespace Cxxi
{
if (!VisitDeclaration(property))
return false;
return property.Type.Visit(this);
}

Loading…
Cancel
Save