|
|
|
@ -1,4 +1,5 @@
@@ -1,4 +1,5 @@
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
|
|
namespace Cxxi |
|
|
|
|
{ |
|
|
|
@ -111,6 +112,14 @@ namespace Cxxi
@@ -111,6 +112,14 @@ namespace Cxxi
|
|
|
|
|
get { return Type == ClassType.RefType; } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public IEnumerable<Method> Constructors |
|
|
|
|
{ |
|
|
|
|
get { |
|
|
|
|
return Methods.Where( |
|
|
|
|
method => method.IsConstructor || method.IsCopyConstructor); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override T Visit<T>(IDeclVisitor<T> visitor) |
|
|
|
|
{ |
|
|
|
|
return visitor.VisitClassDecl(this); |
|
|
|
|