PR tree-optimization/19876
[official-gcc.git] / gcc / tree-browser.def
blob57fb1df804486bc893bbeaa6d688c226aa89cf98
1 /* Definitions and documentation for the codes used by the Tree Browser.
2 Copyright (C) 2002 Free Software Foundation, Inc.
3 Contributed by Sebastian Pop <s.pop@laposte.net>
5 This file is part of GCC.
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
9 Software Foundation; either version 2, or (at your option) any later
10 version.
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
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
22 /* First field in the following declarations is the code of the command
23 used by the tree browser.
24 Second field is what is parsed in order to recognize a command.
25 Third field is used for printing the help message. */
28 /* Misc. commands. */
29 DEFTBCODE (TB_EXIT, "x", "Exits tree-browser.")
30 DEFTBCODE (TB_QUIT, "q", "Exits tree-browser.")
31 DEFTBCODE (TB_HELP, "h", "Prints this help message.")
32 DEFTBCODE (TB_UPDATE_UP, "update", "Update information about parent expressions.")
33 DEFTBCODE (TB_VERBOSE, "verbose", "Sets/unsets verbose mode (default is on).")
35 /* Walking commands. */
36 DEFTBCODE (TB_FUN, "fun", "Go to the curent function declaration.")
37 DEFTBCODE (TB_NEXT, "nx", "Go to the next expression in a BIND_EXPR.")
38 DEFTBCODE (TB_PREV, "pr", "Go to the previous expression in a BIND_EXPR.")
39 DEFTBCODE (TB_UP, "up", "Go to the parent tree node.")
40 DEFTBCODE (TB_LAST, "last", "Go to the last expression in a BIND_EXPR.")
41 DEFTBCODE (TB_FIRST, "first","Go to the first expression in a BIND_EXPR.")
42 DEFTBCODE (TB_HPREV, "hpr", "Go to the previous visited node (history previous).")
44 /* Fields accessors. */
45 DEFTBCODE (TB_CHILD_0, "arg0", "Child 0.")
46 DEFTBCODE (TB_CHILD_1, "arg1", "Child 1.")
47 DEFTBCODE (TB_CHILD_2, "arg2", "Child 2.")
48 DEFTBCODE (TB_CHILD_3, "arg3", "Child 3.")
49 DEFTBCODE (TB_DECL_SAVED_TREE, "decl_saved_tree", "Body of a function.")
50 DEFTBCODE (TB_TYPE, "type", "Field accessor.")
51 DEFTBCODE (TB_SIZE, "size", "Field accessor.")
52 DEFTBCODE (TB_UNIT_SIZE, "unit_size", "Field accessor.")
53 DEFTBCODE (TB_OFFSET, "offset", "Field accessor.")
54 DEFTBCODE (TB_BIT_OFFSET, "bit_offset", "Field accessor.")
55 DEFTBCODE (TB_CONTEXT, "context", "Field accessor.")
56 DEFTBCODE (TB_ATTRIBUTES, "attributes", "Field accessor.")
57 DEFTBCODE (TB_ABSTRACT_ORIGIN, "abstract_origin", "Field accessor.")
58 DEFTBCODE (TB_ARGUMENTS, "arguments", "Field accessor.")
59 DEFTBCODE (TB_RESULT, "result", "Field accessor.")
60 DEFTBCODE (TB_INITIAL, "initial", "Field accessor.")
61 DEFTBCODE (TB_ARG_TYPE, "arg-type", "Field accessor.")
62 DEFTBCODE (TB_ARG_TYPE_AS_WRITTEN, "arg-type-as-written", "Field accessor.")
63 DEFTBCODE (TB_CHAIN, "chain", "Field accessor.")
64 DEFTBCODE (TB_VALUES, "values", "Field accessor.")
65 DEFTBCODE (TB_DOMAIN, "domain", "Field accessor.")
66 DEFTBCODE (TB_METHOD_BASE_TYPE, "method_basetype", "Field accessor.")
67 DEFTBCODE (TB_FIELDS, "fields", "Field accessor.")
68 DEFTBCODE (TB_ARG_TYPES, "arg-types", "Field accessor.")
69 DEFTBCODE (TB_BASETYPE, "basetype", "Field accessor.")
70 DEFTBCODE (TB_POINTER_TO_THIS, "pointer_to_this", "Field accessor.")
71 DEFTBCODE (TB_REFERENCE_TO_THIS,"reference_to_this", "Field accessor.")
72 DEFTBCODE (TB_VARS, "vars", "Field accessor.")
73 DEFTBCODE (TB_SUPERCONTEXT, "supercontext", "Field accessor.")
74 DEFTBCODE (TB_BODY, "body", "Field accessor.")
75 DEFTBCODE (TB_SUBBLOCKS, "subblocks", "Field accessor.")
76 DEFTBCODE (TB_BLOCK, "block", "Field accessor.")
77 DEFTBCODE (TB_REAL, "real", "Field accessor.")
78 DEFTBCODE (TB_IMAG, "imag", "Field accessor.")
79 DEFTBCODE (TB_PURPOSE, "purpose", "Field accessor.")
80 DEFTBCODE (TB_VALUE, "value", "Field accessor.")
81 DEFTBCODE (TB_ELT, "elt", "Field accessor.")
82 DEFTBCODE (TB_MIN, "min", "Field accessor.")
83 DEFTBCODE (TB_MAX, "max", "Field accessor.")
85 /* Searching commands. */
86 DEFTBCODE (TB_SEARCH_CODE, "sc", "Search a node having a TREE_CODE given as a parameter.")
87 DEFTBCODE (TB_SEARCH_NAME, "sn", "Search an identifier having a name given as a parameter.")
89 /* Printing commands. */
90 DEFTBCODE (TB_PRETTY_PRINT, "pp", "Pretty print current node.")
91 DEFTBCODE (TB_PRINT, "p", "Prints the current node.")
95 Local variables:
96 mode:c
97 End: