| OLD | NEW |
| 1 /* Defs for interface to demanglers. | 1 /* Defs for interface to demanglers. |
| 2 Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, | 2 Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, |
| 3 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This program is free software; you can redistribute it and/or | 5 This program is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public License | 6 modify it under the terms of the GNU Library General Public License |
| 7 as published by the Free Software Foundation; either version 2, or | 7 as published by the Free Software Foundation; either version 2, or |
| 8 (at your option) any later version. | 8 (at your option) any later version. |
| 9 | 9 |
| 10 In addition to the permissions in the GNU Library General Public | 10 In addition to the permissions in the GNU Library General Public |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 /* A vector type. The left subtree is the number of elements, | 337 /* A vector type. The left subtree is the number of elements, |
| 338 the right subtree is the element type. */ | 338 the right subtree is the element type. */ |
| 339 DEMANGLE_COMPONENT_VECTOR_TYPE, | 339 DEMANGLE_COMPONENT_VECTOR_TYPE, |
| 340 /* An argument list. The left subtree is the current argument, and | 340 /* An argument list. The left subtree is the current argument, and |
| 341 the right subtree is either NULL or another ARGLIST node. */ | 341 the right subtree is either NULL or another ARGLIST node. */ |
| 342 DEMANGLE_COMPONENT_ARGLIST, | 342 DEMANGLE_COMPONENT_ARGLIST, |
| 343 /* A template argument list. The left subtree is the current | 343 /* A template argument list. The left subtree is the current |
| 344 template argument, and the right subtree is either NULL or | 344 template argument, and the right subtree is either NULL or |
| 345 another TEMPLATE_ARGLIST node. */ | 345 another TEMPLATE_ARGLIST node. */ |
| 346 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, | 346 DEMANGLE_COMPONENT_TEMPLATE_ARGLIST, |
| 347 /* An initializer list. The left subtree is either an explicit type or |
| 348 NULL, and the right subtree is a DEMANGLE_COMPONENT_ARGLIST. */ |
| 349 DEMANGLE_COMPONENT_INITIALIZER_LIST, |
| 347 /* An operator. This holds information about a standard | 350 /* An operator. This holds information about a standard |
| 348 operator. */ | 351 operator. */ |
| 349 DEMANGLE_COMPONENT_OPERATOR, | 352 DEMANGLE_COMPONENT_OPERATOR, |
| 350 /* An extended operator. This holds the number of arguments, and | 353 /* An extended operator. This holds the number of arguments, and |
| 351 the name of the extended operator. */ | 354 the name of the extended operator. */ |
| 352 DEMANGLE_COMPONENT_EXTENDED_OPERATOR, | 355 DEMANGLE_COMPONENT_EXTENDED_OPERATOR, |
| 353 /* A typecast, represented as a unary operator. The one subtree is | 356 /* A typecast, represented as a unary operator. The one subtree is |
| 354 the type to which the argument should be cast. */ | 357 the type to which the argument should be cast. */ |
| 355 DEMANGLE_COMPONENT_CAST, | 358 DEMANGLE_COMPONENT_CAST, |
| 359 /* A nullary expression. The left subtree is the operator. */ |
| 360 DEMANGLE_COMPONENT_NULLARY, |
| 356 /* A unary expression. The left subtree is the operator, and the | 361 /* A unary expression. The left subtree is the operator, and the |
| 357 right subtree is the single argument. */ | 362 right subtree is the single argument. */ |
| 358 DEMANGLE_COMPONENT_UNARY, | 363 DEMANGLE_COMPONENT_UNARY, |
| 359 /* A binary expression. The left subtree is the operator, and the | 364 /* A binary expression. The left subtree is the operator, and the |
| 360 right subtree is a BINARY_ARGS. */ | 365 right subtree is a BINARY_ARGS. */ |
| 361 DEMANGLE_COMPONENT_BINARY, | 366 DEMANGLE_COMPONENT_BINARY, |
| 362 /* Arguments to a binary expression. The left subtree is the first | 367 /* Arguments to a binary expression. The left subtree is the first |
| 363 argument, and the right subtree is the second argument. */ | 368 argument, and the right subtree is the second argument. */ |
| 364 DEMANGLE_COMPONENT_BINARY_ARGS, | 369 DEMANGLE_COMPONENT_BINARY_ARGS, |
| 365 /* A trinary expression. The left subtree is the operator, and the | 370 /* A trinary expression. The left subtree is the operator, and the |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 extern int | 651 extern int |
| 647 cplus_demangle_print_callback (int options, | 652 cplus_demangle_print_callback (int options, |
| 648 const struct demangle_component *tree, | 653 const struct demangle_component *tree, |
| 649 demangle_callbackref callback, void *opaque); | 654 demangle_callbackref callback, void *opaque); |
| 650 | 655 |
| 651 #ifdef __cplusplus | 656 #ifdef __cplusplus |
| 652 } | 657 } |
| 653 #endif /* __cplusplus */ | 658 #endif /* __cplusplus */ |
| 654 | 659 |
| 655 #endif /* DEMANGLE_H */ | 660 #endif /* DEMANGLE_H */ |
| OLD | NEW |