/usr/lib/python2.7/dist-packages/pygccxml/declarations/type_visitor.py is in python-pygccxml 1.8.0-1.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | # Copyright 2014-2016 Insight Software Consortium.
# Copyright 2004-2008 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0.
# See http://www.boost.org/LICENSE_1_0.txt
"""
defines types visitor class interface
"""
class type_visitor_t(object):
"""
types visitor interface
All functions within this class should be redefined in derived classes.
"""
def __init__(self):
object.__init__(self)
def visit_void(self):
raise NotImplementedError()
def visit_char(self):
raise NotImplementedError()
def visit_unsigned_char(self):
raise NotImplementedError()
def visit_signed_char(self):
raise NotImplementedError()
def visit_wchar(self):
raise NotImplementedError()
def visit_short_int(self):
raise NotImplementedError()
def visit_short_unsigned_int(self):
raise NotImplementedError()
def visit_bool(self):
raise NotImplementedError()
def visit_int(self):
raise NotImplementedError()
def visit_unsigned_int(self):
raise NotImplementedError()
def visit_long_int(self):
raise NotImplementedError()
def visit_long_unsigned_int(self):
raise NotImplementedError()
def visit_long_long_int(self):
raise NotImplementedError()
def visit_long_long_unsigned_int(self):
raise NotImplementedError()
def visit_int128(self):
raise NotImplementedError()
def visit_uint128(self):
raise NotImplementedError()
def visit_float(self):
raise NotImplementedError()
def visit_double(self):
raise NotImplementedError()
def visit_long_double(self):
raise NotImplementedError()
def visit_complex_long_double(self):
raise NotImplementedError()
def visit_complex_double(self):
raise NotImplementedError()
def visit_complex_float(self):
raise NotImplementedError()
def visit_jbyte(self):
raise NotImplementedError()
def visit_jshort(self):
raise NotImplementedError()
def visit_jint(self):
raise NotImplementedError()
def visit_jlong(self):
raise NotImplementedError()
def visit_jfloat(self):
raise NotImplementedError()
def visit_jdouble(self):
raise NotImplementedError()
def visit_jchar(self):
raise NotImplementedError()
def visit_jboolean(self):
raise NotImplementedError()
def visit_volatile(self):
raise NotImplementedError()
def visit_const(self):
raise NotImplementedError()
def visit_pointer(self):
raise NotImplementedError()
def visit_reference(self):
raise NotImplementedError()
def visit_array(self):
raise NotImplementedError()
def visit_free_function_type(self):
raise NotImplementedError()
def visit_member_function_type(self):
raise NotImplementedError()
def visit_member_variable_type(self):
raise NotImplementedError()
def visit_declarated(self):
raise NotImplementedError()
def visit_restrict(self):
raise NotImplementedError()
def visit_ellipsis(self):
raise NotImplementedError()
|