/usr/include/Synopsis/TypeAnalysis/Visitor.hh is in libsynopsis0.12-dev 0.12-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | //
// Copyright (C) 2005 Stefan Seefeld
// All rights reserved.
// Licensed to the public under the terms of the GNU LGPL (>= 2),
// see the file COPYING for details.
//
#ifndef Synopsis_TypeAnalysis_Visitor_hh_
#define Synopsis_TypeAnalysis_Visitor_hh_
namespace Synopsis
{
namespace TypeAnalysis
{
class Type;
class BuiltinType;
class Enum;
class Class;
class Union;
class CVType;
class Pointer;
class Reference;
class Array;
class Function;
class PointerToMember;
class Visitor
{
public:
virtual ~Visitor() {}
// FIXME: may these use const arguments ?
virtual void visit(Type *) = 0;
virtual void visit(BuiltinType *) = 0;
virtual void visit(Enum *) = 0;
virtual void visit(Class *) = 0;
virtual void visit(Union *) = 0;
virtual void visit(CVType *) = 0;
virtual void visit(Pointer *) = 0;
virtual void visit(Reference *) = 0;
virtual void visit(Array *) = 0;
virtual void visit(Function *) = 0;
virtual void visit(PointerToMember *) = 0;
};
}
}
#endif
|