|
|
@ -133,32 +133,18 @@ namespace CppSharp.AST |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Whether the declaration should be processed.
|
|
|
|
// Whether the declaration was explicitly ignored.
|
|
|
|
public virtual bool IsProcessed |
|
|
|
public bool ExplicityIgnored |
|
|
|
{ |
|
|
|
{ |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
var isProcessed = !IgnoreFlags.HasFlag(IgnoreFlags.Processing); |
|
|
|
var isExplicitlyIgnored = IgnoreFlags.HasFlag(IgnoreFlags.Explicit); |
|
|
|
|
|
|
|
|
|
|
|
if (Namespace == null) |
|
|
|
if (Namespace == null) |
|
|
|
return isProcessed; |
|
|
|
return isExplicitlyIgnored; |
|
|
|
|
|
|
|
|
|
|
|
return isProcessed && Namespace.IsProcessed; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
return isExplicitlyIgnored || Namespace.ExplicityIgnored; |
|
|
|
{ |
|
|
|
|
|
|
|
if (value) |
|
|
|
|
|
|
|
IgnoreFlags &= ~IgnoreFlags.Processing; |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
IgnoreFlags |= IgnoreFlags.Processing; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Whether the declaration was explicitly ignored.
|
|
|
|
|
|
|
|
public bool ExplicityIgnored |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
get { return IgnoreFlags.HasFlag(IgnoreFlags.Explicit); } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set |
|
|
|
set |
|
|
|
{ |
|
|
|
{ |
|
|
|