1 classes { 2 fields { 3 field_name: "foo" 4 field_type: "int" 5 access: "public" 6 } 7 fields { 8 field_name: "bar" 9 field_type: "int" 10 access: "public" 11 } 12 fully_qualified_name: "Hello" 13 source_file: "./input/example1.h" 14 access: "public" 15 } 16 classes { 17 fields { 18 field_name: "cpp_foo" 19 field_type: "const int" 20 access: "public" 21 } 22 fields { 23 field_name: "cpp_bar" 24 field_type: "const float" 25 access: "public" 26 } 27 base_specifiers { 28 fully_qualified_name: "test2::HelloAgain" 29 access: "private" 30 is_virtual: false 31 } 32 base_specifiers { 33 fully_qualified_name: "test3::ByeAgain<float>" 34 access: "public" 35 is_virtual: false 36 } 37 fully_qualified_name: "CPPHello" 38 source_file: "./input/example1.h" 39 access: "public" 40 } 41 classes { 42 fields { 43 field_name: "value_" 44 field_type: "T" 45 access: "public" 46 } 47 fields { 48 field_name: "next_" 49 field_type: "StackNode<T> *" 50 access: "public" 51 } 52 fully_qualified_name: "StackNode" 53 source_file: "./input/example1.h" 54 access: "public" 55 } 56 classes { 57 fields { 58 field_name: "head_" 59 field_type: "StackNode<T> *" 60 access: "private" 61 } 62 fully_qualified_name: "Stack" 63 source_file: "./input/example1.h" 64 access: "public" 65 } 66 functions { 67 function_name: "CPPHello::CPPHello" 68 mangled_function_name: "_ZN8CPPHelloC1Ev" 69 source_file: "./input/example1.h" 70 return_type: "void" 71 access: "public" 72 template_kind: 0 73 } 74 functions { 75 function_name: "StackNode::StackNode<T>" 76 mangled_function_name: "_ZN9StackNodeC1ET_P9StackNodeIS0_E" 77 source_file: "./input/example1.h" 78 parameters { 79 field_name: "t" 80 field_type: "T" 81 default_arg: false 82 } 83 parameters { 84 field_name: "next" 85 field_type: "StackNode<T> *" 86 default_arg: true 87 } 88 return_type: "void" 89 access: "public" 90 template_kind: 0 91 } 92 functions { 93 function_name: "Stack::Stack<T>" 94 mangled_function_name: "_ZN5StackC1Ev" 95 source_file: "./input/example1.h" 96 return_type: "void" 97 access: "public" 98 template_kind: 0 99 } 100 functions { 101 function_name: "Stack::push" 102 mangled_function_name: "push_ZN5Stack4pushET_" 103 source_file: "./input/example1.h" 104 parameters { 105 field_name: "t" 106 field_type: "T" 107 default_arg: false 108 } 109 return_type: "void" 110 access: "public" 111 template_kind: 0 112 } 113 functions { 114 function_name: "Stack::pop" 115 mangled_function_name: "pop_ZN5Stack3popEv" 116 source_file: "./input/example1.h" 117 return_type: "T" 118 access: "public" 119 template_kind: 0 120 } 121 functions { 122 function_name: "Global_Foo" 123 mangled_function_name: "Global_Foo_Z10Global_Fooi" 124 source_file: "./input/example1.h" 125 parameters { 126 field_name: "global_bar" 127 field_type: "int" 128 default_arg: false 129 } 130 return_type: "const volatile int" 131 access: "public" 132 template_kind: 0 133 } 134