|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using System.Collections.Generic; |
|
|
|
using System; |
|
|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
|
|
|
|
namespace CppSharp.AST |
|
|
|
namespace CppSharp.AST |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -389,7 +390,7 @@ namespace CppSharp.AST |
|
|
|
return parameter.Type.Visit(this, parameter.QualifiedType.Qualifiers); |
|
|
|
return parameter.Type.Visit(this, parameter.QualifiedType.Qualifiers); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual bool VisitTypedefDecl(TypedefDecl typedef) |
|
|
|
public bool VisitTypedefNameDecl(TypedefNameDecl typedef) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (!VisitDeclaration(typedef)) |
|
|
|
if (!VisitDeclaration(typedef)) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
@ -397,12 +398,14 @@ namespace CppSharp.AST |
|
|
|
return typedef.Type.Visit(this, typedef.QualifiedType.Qualifiers); |
|
|
|
return typedef.Type.Visit(this, typedef.QualifiedType.Qualifiers); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public bool VisitTypeAliasDecl(TypeAlias typeAlias) |
|
|
|
public virtual bool VisitTypedefDecl(TypedefDecl typedef) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (!VisitDeclaration(typeAlias)) |
|
|
|
return VisitTypedefNameDecl(typedef); |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return typeAlias.Type.Visit(this, typeAlias.QualifiedType.Qualifiers); |
|
|
|
public bool VisitTypeAliasDecl(TypeAlias typeAlias) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return VisitTypedefNameDecl(typeAlias); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public virtual bool VisitEnumDecl(Enumeration @enum) |
|
|
|
public virtual bool VisitEnumDecl(Enumeration @enum) |
|
|
|
|