xref: /dflybsd-src/contrib/gcc-4.7/gcc/tree-browser.def (revision 04febcfb30580676d3e95f58a16c5137ee478b32)
1*e4b17023SJohn Marino/* Definitions and documentation for the codes used by the Tree Browser.
2*e4b17023SJohn Marino   Copyright (C) 2002, 2007 Free Software Foundation, Inc.
3*e4b17023SJohn Marino   Contributed by Sebastian Pop <s.pop@laposte.net>
4*e4b17023SJohn Marino
5*e4b17023SJohn MarinoThis file is part of GCC.
6*e4b17023SJohn Marino
7*e4b17023SJohn MarinoGCC is free software; you can redistribute it and/or modify it under
8*e4b17023SJohn Marinothe terms of the GNU General Public License as published by the Free
9*e4b17023SJohn MarinoSoftware Foundation; either version 3, or (at your option) any later
10*e4b17023SJohn Marinoversion.
11*e4b17023SJohn Marino
12*e4b17023SJohn MarinoGCC is distributed in the hope that it will be useful, but WITHOUT ANY
13*e4b17023SJohn MarinoWARRANTY; without even the implied warranty of MERCHANTABILITY or
14*e4b17023SJohn MarinoFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15*e4b17023SJohn Marinofor more details.
16*e4b17023SJohn Marino
17*e4b17023SJohn MarinoYou should have received a copy of the GNU General Public License
18*e4b17023SJohn Marinoalong with GCC; see the file COPYING3.  If not see
19*e4b17023SJohn Marino<http://www.gnu.org/licenses/>.  */
20*e4b17023SJohn Marino
21*e4b17023SJohn Marino/* First field in the following declarations is the code of the command
22*e4b17023SJohn Marino   used by the tree browser.
23*e4b17023SJohn Marino   Second field is what is parsed in order to recognize a command.
24*e4b17023SJohn Marino   Third field is used for printing the help message.  */
25*e4b17023SJohn Marino
26*e4b17023SJohn Marino
27*e4b17023SJohn Marino/* Misc. commands.  */
28*e4b17023SJohn MarinoDEFTBCODE (TB_EXIT,		"x",	"Exits tree-browser.")
29*e4b17023SJohn MarinoDEFTBCODE (TB_QUIT,             "q",    "Exits tree-browser.")
30*e4b17023SJohn MarinoDEFTBCODE (TB_HELP,		"h",	"Prints this help message.")
31*e4b17023SJohn MarinoDEFTBCODE (TB_UPDATE_UP,        "update", "Update information about parent expressions.")
32*e4b17023SJohn MarinoDEFTBCODE (TB_VERBOSE,          "verbose", "Sets/unsets verbose mode (default is on).")
33*e4b17023SJohn Marino
34*e4b17023SJohn Marino/* Walking commands.  */
35*e4b17023SJohn MarinoDEFTBCODE (TB_FUN,		"fun",	"Go to the current function declaration.")
36*e4b17023SJohn MarinoDEFTBCODE (TB_NEXT,		"nx",	"Go to the next expression in a BIND_EXPR.")
37*e4b17023SJohn MarinoDEFTBCODE (TB_PREV,		"pr",   "Go to the previous expression in a BIND_EXPR.")
38*e4b17023SJohn MarinoDEFTBCODE (TB_UP,		"up",	"Go to the parent tree node.")
39*e4b17023SJohn MarinoDEFTBCODE (TB_LAST,             "last", "Go to the last expression in a BIND_EXPR.")
40*e4b17023SJohn MarinoDEFTBCODE (TB_FIRST,            "first","Go to the first expression in a BIND_EXPR.")
41*e4b17023SJohn MarinoDEFTBCODE (TB_HPREV,            "hpr",  "Go to the previous visited node (history previous).")
42*e4b17023SJohn Marino
43*e4b17023SJohn Marino/* Fields accessors.  */
44*e4b17023SJohn MarinoDEFTBCODE (TB_CHILD_0,          "arg0",  "Child 0.")
45*e4b17023SJohn MarinoDEFTBCODE (TB_CHILD_1,          "arg1",  "Child 1.")
46*e4b17023SJohn MarinoDEFTBCODE (TB_CHILD_2,          "arg2",  "Child 2.")
47*e4b17023SJohn MarinoDEFTBCODE (TB_CHILD_3,          "arg3",  "Child 3.")
48*e4b17023SJohn MarinoDEFTBCODE (TB_DECL_SAVED_TREE,  "decl_saved_tree", "Body of a function.")
49*e4b17023SJohn MarinoDEFTBCODE (TB_TYPE,             "type", "Field accessor.")
50*e4b17023SJohn MarinoDEFTBCODE (TB_SIZE,             "size", "Field accessor.")
51*e4b17023SJohn MarinoDEFTBCODE (TB_UNIT_SIZE,        "unit_size", "Field accessor.")
52*e4b17023SJohn MarinoDEFTBCODE (TB_OFFSET,           "offset", "Field accessor.")
53*e4b17023SJohn MarinoDEFTBCODE (TB_BIT_OFFSET,       "bit_offset", "Field accessor.")
54*e4b17023SJohn MarinoDEFTBCODE (TB_CONTEXT,          "context", "Field accessor.")
55*e4b17023SJohn MarinoDEFTBCODE (TB_ATTRIBUTES,       "attributes", "Field accessor.")
56*e4b17023SJohn MarinoDEFTBCODE (TB_ABSTRACT_ORIGIN,  "abstract_origin", "Field accessor.")
57*e4b17023SJohn MarinoDEFTBCODE (TB_ARGUMENTS,        "arguments", "Field accessor.")
58*e4b17023SJohn MarinoDEFTBCODE (TB_RESULT,           "result", "Field accessor.")
59*e4b17023SJohn MarinoDEFTBCODE (TB_INITIAL,          "initial", "Field accessor.")
60*e4b17023SJohn MarinoDEFTBCODE (TB_ARG_TYPE,         "arg-type", "Field accessor.")
61*e4b17023SJohn MarinoDEFTBCODE (TB_ARG_TYPE_AS_WRITTEN, "arg-type-as-written", "Field accessor.")
62*e4b17023SJohn MarinoDEFTBCODE (TB_CHAIN,            "chain", "Field accessor.")
63*e4b17023SJohn MarinoDEFTBCODE (TB_VALUES,           "values", "Field accessor.")
64*e4b17023SJohn MarinoDEFTBCODE (TB_DOMAIN,           "domain", "Field accessor.")
65*e4b17023SJohn MarinoDEFTBCODE (TB_METHOD_BASE_TYPE, "method_basetype", "Field accessor.")
66*e4b17023SJohn MarinoDEFTBCODE (TB_FIELDS,           "fields", "Field accessor.")
67*e4b17023SJohn MarinoDEFTBCODE (TB_ARG_TYPES,        "arg-types", "Field accessor.")
68*e4b17023SJohn MarinoDEFTBCODE (TB_BASETYPE,         "basetype", "Field accessor.")
69*e4b17023SJohn MarinoDEFTBCODE (TB_POINTER_TO_THIS,  "pointer_to_this", "Field accessor.")
70*e4b17023SJohn MarinoDEFTBCODE (TB_REFERENCE_TO_THIS,"reference_to_this", "Field accessor.")
71*e4b17023SJohn MarinoDEFTBCODE (TB_VARS,             "vars", "Field accessor.")
72*e4b17023SJohn MarinoDEFTBCODE (TB_SUPERCONTEXT,     "supercontext", "Field accessor.")
73*e4b17023SJohn MarinoDEFTBCODE (TB_BODY,             "body", "Field accessor.")
74*e4b17023SJohn MarinoDEFTBCODE (TB_SUBBLOCKS,        "subblocks", "Field accessor.")
75*e4b17023SJohn MarinoDEFTBCODE (TB_BLOCK,            "block", "Field accessor.")
76*e4b17023SJohn MarinoDEFTBCODE (TB_REAL,             "real", "Field accessor.")
77*e4b17023SJohn MarinoDEFTBCODE (TB_IMAG,             "imag", "Field accessor.")
78*e4b17023SJohn MarinoDEFTBCODE (TB_PURPOSE,          "purpose", "Field accessor.")
79*e4b17023SJohn MarinoDEFTBCODE (TB_VALUE,            "value", "Field accessor.")
80*e4b17023SJohn MarinoDEFTBCODE (TB_ELT,              "elt", "Field accessor.")
81*e4b17023SJohn MarinoDEFTBCODE (TB_MIN,              "min", "Field accessor.")
82*e4b17023SJohn MarinoDEFTBCODE (TB_MAX,              "max", "Field accessor.")
83*e4b17023SJohn Marino
84*e4b17023SJohn Marino/* Searching commands.  */
85*e4b17023SJohn MarinoDEFTBCODE (TB_SEARCH_CODE,	"sc",	"Search a node having a TREE_CODE given as a parameter.")
86*e4b17023SJohn MarinoDEFTBCODE (TB_SEARCH_NAME,	"sn",	"Search an identifier having a name given as a parameter.")
87*e4b17023SJohn Marino
88*e4b17023SJohn Marino/* Printing commands.  */
89*e4b17023SJohn MarinoDEFTBCODE (TB_PRETTY_PRINT,     "pp",   "Pretty print current node.")
90*e4b17023SJohn MarinoDEFTBCODE (TB_PRINT,            "p",    "Prints the current node.")
91*e4b17023SJohn Marino
92*e4b17023SJohn Marino
93*e4b17023SJohn Marino/*
94*e4b17023SJohn MarinoLocal variables:
95*e4b17023SJohn Marinomode:c
96*e4b17023SJohn MarinoEnd:
97*e4b17023SJohn Marino*/
98