Home | History | Annotate | Download | only in expected
      1 classes {
      2   fields {
      3     field_name: "foo_again"
      4     field_type: "std::unique_ptr<test2::HelloAgain, std::default_delete<test2::HelloAgain> >"
      5     access: "public"
      6   }
      7   fields {
      8     field_name: "bar_again"
      9     field_type: "int"
     10     access: "public"
     11   }
     12   fully_qualified_name: "test2::HelloAgain"
     13   source_file: "./input/example2.h"
     14   access: "public"
     15 }
     16 classes {
     17   fields {
     18     field_name: "foo_again"
     19     field_type: "T"
     20     access: "public"
     21   }
     22   fields {
     23     field_name: "bar_again"
     24     field_type: "int"
     25     access: "public"
     26   }
     27   fully_qualified_name: "test3::ByeAgain"
     28   source_file: "./input/example2.h"
     29   access: "public"
     30 }
     31 classes {
     32   fields {
     33     field_name: "foo_again"
     34     field_type: "double"
     35     access: "public"
     36   }
     37   fields {
     38     field_name: "bar_again"
     39     field_type: "int"
     40     access: "public"
     41   }
     42   fully_qualified_name: "test3::ByeAgain"
     43   source_file: "./input/example2.h"
     44   template_info {
     45     template_parameters {
     46       field_type: "double"
     47     }
     48   }
     49   access: "public"
     50 }
     51 classes {
     52   fields {
     53     field_name: "foo_again"
     54     field_type: "float"
     55     access: "public"
     56   }
     57   fields {
     58     field_name: "bar_Again"
     59     field_type: "float"
     60     access: "public"
     61   }
     62   fully_qualified_name: "test3::ByeAgain"
     63   source_file: "./input/example2.h"
     64   template_info {
     65     template_parameters {
     66       field_type: "float"
     67     }
     68   }
     69   access: "public"
     70 }
     71 classes {
     72   fields {
     73     field_name: "a"
     74     field_type: "int"
     75     access: "public"
     76   }
     77   fully_qualified_name: "test3::Outer"
     78   source_file: "./input/example2.h"
     79   access: "public"
     80 }
     81 classes {
     82   fields {
     83     field_name: "b"
     84     field_type: "int"
     85     access: "private"
     86   }
     87   fully_qualified_name: "test3::Outer::Inner"
     88   source_file: "./input/example2.h"
     89   access: "private"
     90 }
     91 functions {
     92   function_name: "test3::ByeAgain::method_foo"
     93   mangled_function_name: "method_foo_ZN5test38ByeAgain10method_fooET_"
     94   source_file: "./input/example2.h"
     95   parameters {
     96     field_name: ""
     97     field_type: "T"
     98     default_arg: false
     99   }
    100   return_type: "T"
    101   access: "public"
    102   template_kind: 0
    103 }
    104 functions {
    105   function_name: "test3::ByeAgain<double>::method_foo"
    106   mangled_function_name: "method_foo_ZN5test38ByeAgainIdE10method_fooEd"
    107   source_file: "./input/example2.h"
    108   parameters {
    109     field_name: ""
    110     field_type: "double"
    111     default_arg: false
    112   }
    113   return_type: "double"
    114   access: "public"
    115   template_kind: 2
    116 }
    117 functions {
    118   function_name: "test3::ByeAgain<float>::method_foo"
    119   mangled_function_name: "method_foo_ZN5test38ByeAgainIfE10method_fooEi"
    120   source_file: "./input/example2.h"
    121   parameters {
    122     field_name: ""
    123     field_type: "int"
    124     default_arg: false
    125   }
    126   return_type: "float"
    127   access: "public"
    128   template_kind: 0
    129 }
    130 functions {
    131   function_name: "test3::Begin"
    132   mangled_function_name: "Begin_ZN5test35BeginET_T0_"
    133   source_file: "./input/example2.h"
    134   parameters {
    135     field_name: "arg1"
    136     field_type: "T1"
    137     default_arg: false
    138   }
    139   parameters {
    140     field_name: "arg2"
    141     field_type: "T2"
    142     default_arg: false
    143   }
    144   return_type: "bool"
    145   access: "public"
    146   template_kind: 1
    147   template_info {
    148     template_parameters {
    149       field_name: "T1"
    150     }
    151     template_parameters {
    152       field_name: "T2"
    153     }
    154   }
    155 }
    156 functions {
    157   function_name: "test3::Begin"
    158   mangled_function_name: "Begin_ZN5test35BeginIfiEEbT_T0_"
    159   source_file: "./input/example2.h"
    160   parameters {
    161     field_name: "arg1"
    162     field_type: "float"
    163     default_arg: false
    164   }
    165   parameters {
    166     field_name: "arg2"
    167     field_type: "int"
    168     default_arg: false
    169   }
    170   return_type: "bool"
    171   access: "public"
    172   template_kind: 3
    173   template_info {
    174     template_parameters {
    175       field_type: "float"
    176     }
    177     template_parameters {
    178       field_type: "int"
    179     }
    180   }
    181 }
    182 functions {
    183   function_name: "test3::Begin"
    184   mangled_function_name: "Begin_ZN5test35BeginIifEEbT_T0_"
    185   source_file: "./input/example2.h"
    186   parameters {
    187     field_name: "a"
    188     field_type: "int"
    189     default_arg: false
    190   }
    191   parameters {
    192     field_name: "b"
    193     field_type: "float"
    194     default_arg: false
    195   }
    196   return_type: "bool"
    197   access: "public"
    198   template_kind: 3
    199   template_info {
    200     template_parameters {
    201       field_type: "int"
    202     }
    203     template_parameters {
    204       field_type: "float"
    205     }
    206   }
    207 }
    208 functions {
    209   function_name: "test3::End"
    210   mangled_function_name: "End_ZN5test33EndEf"
    211   source_file: "./input/example2.h"
    212   parameters {
    213     field_name: "arg"
    214     field_type: "float"
    215     default_arg: true
    216   }
    217   return_type: "bool"
    218   access: "public"
    219   template_kind: 0
    220 }
    221 enums {
    222   enum_name: "Foo_s"
    223   enum_type: "unsigned int"
    224   enum_fields {
    225     enum_field_name: "Foo_s::foosball"
    226     enum_field_value: 10
    227   }
    228   enum_fields {
    229     enum_field_name: "Foo_s::foosbat"
    230     enum_field_value: 11
    231   }
    232 }
    233 enums {
    234   enum_name: "test3::Kind"
    235   enum_type: "unsigned int"
    236   enum_fields {
    237     enum_field_name: "test3::Kind::kind1"
    238     enum_field_value: 24
    239   }
    240   enum_fields {
    241     enum_field_name: "test3::Kind::kind2"
    242     enum_field_value: 2312
    243   }
    244 }
    245