public bool VisitTypedefNameDecl(TypedefNameDecl typedef) { if (!VisitDeclaration(typedef)) { return(false); } return(typedef.Type.Visit(this, typedef.QualifiedType.Qualifiers)); }
private static Kind GetKind(Declaration item) { return(item switch { Namespace _ => Kind.Namespace, Enumeration _ => Kind.Enum, Function _ => Kind.Function, Class _ => Kind.Class, Template _ => Kind.Template, TypedefNameDecl _ => Kind.Typedef, Variable _ => Kind.Variable, Friend _ => Kind.Friend, Event _ => Kind.Event, _ => throw new System.ArgumentOutOfRangeException(nameof(item), "Unsupported type of declaration.") });
public TypedefType(TypedefType type) : base(type) { Declaration = type.Declaration; }
public TypedefType(TypedefNameDecl decl) { Declaration = decl; }
public string VisitTypedefNameDecl(TypedefNameDecl typedef) { throw new NotImplementedException(); }