OLD | NEW |
1 /* Definitions and documentation for the codes used by the Tree Browser. | 1 /* Definitions and documentation for the codes used by the Tree Browser. |
2 Copyright (C) 2002, 2007 Free Software Foundation, Inc. | 2 Copyright (C) 2002, 2007 Free Software Foundation, Inc. |
3 Contributed by Sebastian Pop <s.pop@laposte.net> | 3 Contributed by Sebastian Pop <s.pop@laposte.net> |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
8 the terms of the GNU General Public License as published by the Free | 8 the terms of the GNU General Public License as published by the Free |
9 Software Foundation; either version 3, or (at your option) any later | 9 Software Foundation; either version 3, or (at your option) any later |
10 version. | 10 version. |
11 | 11 |
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | 12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or | 13 WARRANTY; without even the implied warranty of MERCHANTABILITY or |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | 14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
15 for more details. | 15 for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with GCC; see the file COPYING3. If not see | 18 along with GCC; see the file COPYING3. If not see |
19 <http://www.gnu.org/licenses/>. */ | 19 <http://www.gnu.org/licenses/>. */ |
20 | 20 |
21 /* First field in the following declarations is the code of the command | 21 /* First field in the following declarations is the code of the command |
22 used by the tree browser. | 22 used by the tree browser. |
23 Second field is what is parsed in order to recognize a command. | 23 Second field is what is parsed in order to recognize a command. |
24 Third field is used for printing the help message. */ | 24 Third field is used for printing the help message. */ |
25 | 25 |
26 | 26 |
27 /* Misc. commands. */ | 27 /* Misc. commands. */ |
28 DEFTBCODE (TB_EXIT, "x", "Exits tree-browser.") | 28 DEFTBCODE (TB_EXIT, "x", "Exits tree-browser.") |
29 DEFTBCODE (TB_QUIT, "q", "Exits tree-browser.") | 29 DEFTBCODE (TB_QUIT, "q", "Exits tree-browser.") |
30 DEFTBCODE (TB_HELP, "h", "Prints this help message.") | 30 DEFTBCODE (TB_HELP, "h", "Prints this help message.") |
31 DEFTBCODE (TB_UPDATE_UP, "update", "Update information about parent expre
ssions.") | 31 DEFTBCODE (TB_UPDATE_UP, "update", "Update information about parent expre
ssions.") |
32 DEFTBCODE (TB_VERBOSE, "verbose", "Sets/unsets verbose mode (default is
on).") | 32 DEFTBCODE (TB_VERBOSE, "verbose", "Sets/unsets verbose mode (default is
on).") |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 DEFTBCODE (TB_BLOCK, "block", "Field accessor.") | 75 DEFTBCODE (TB_BLOCK, "block", "Field accessor.") |
76 DEFTBCODE (TB_REAL, "real", "Field accessor.") | 76 DEFTBCODE (TB_REAL, "real", "Field accessor.") |
77 DEFTBCODE (TB_IMAG, "imag", "Field accessor.") | 77 DEFTBCODE (TB_IMAG, "imag", "Field accessor.") |
78 DEFTBCODE (TB_PURPOSE, "purpose", "Field accessor.") | 78 DEFTBCODE (TB_PURPOSE, "purpose", "Field accessor.") |
79 DEFTBCODE (TB_VALUE, "value", "Field accessor.") | 79 DEFTBCODE (TB_VALUE, "value", "Field accessor.") |
80 DEFTBCODE (TB_ELT, "elt", "Field accessor.") | 80 DEFTBCODE (TB_ELT, "elt", "Field accessor.") |
81 DEFTBCODE (TB_MIN, "min", "Field accessor.") | 81 DEFTBCODE (TB_MIN, "min", "Field accessor.") |
82 DEFTBCODE (TB_MAX, "max", "Field accessor.") | 82 DEFTBCODE (TB_MAX, "max", "Field accessor.") |
83 | 83 |
84 /* Searching commands. */ | 84 /* Searching commands. */ |
85 DEFTBCODE (TB_SEARCH_CODE,» "sc",» "Search a node having a TREE_CODE given
as a parameter.") | 85 DEFTBCODE (TB_SEARCH_CODE,» "sc",» "Search a node having a TREE_CODE given
as a parameter.") |
86 DEFTBCODE (TB_SEARCH_NAME, "sn", "Search an identifier having a name give
n as a parameter.") | 86 DEFTBCODE (TB_SEARCH_NAME, "sn", "Search an identifier having a name give
n as a parameter.") |
87 | 87 |
88 /* Printing commands. */ | 88 /* Printing commands. */ |
89 DEFTBCODE (TB_PRETTY_PRINT, "pp", "Pretty print current node.") | 89 DEFTBCODE (TB_PRETTY_PRINT, "pp", "Pretty print current node.") |
90 DEFTBCODE (TB_PRINT, "p", "Prints the current node.") | 90 DEFTBCODE (TB_PRINT, "p", "Prints the current node.") |
91 | 91 |
92 | 92 |
93 /* | 93 /* |
94 Local variables: | 94 Local variables: |
95 mode:c | 95 mode:c |
96 End: | 96 End: |
97 */ | 97 */ |
OLD | NEW |