Mercurial > octave
annotate libinterp/parse-tree/pt-select.h @ 22869:f75d289645ec
make deleted functions public
* octave-gui.h, resource-manager.h, shortcut-manager.h,
base-text-renderer.h, c-file-ptr-stream.h, dynamic-ld.cc,
dynamic-ld.h, event-queue.h, ft-text-renderer.cc, gl-render.cc,
gl-render.h, graphics.cc, graphics.in.h, interpreter.h, mex.cc,
mxarray.in.h, oct-fstrm.h, oct-iostrm.h, oct-prcstrm.h,
oct-procbuf.h, oct-stdstrm.h, oct-stream.cc, oct-stream.h,
oct-strstrm.h, octave-link.h, pager.h, profiler.h, sighandlers.cc,
symtab.h, text-renderer.h, zfstream.h, __init_fltk__.cc,
ov-builtin.h, ov-dld-fcn.h, ov-fcn.h, ov-mex-fcn.h, ov-typeinfo.h,
ov-usr-fcn.h, octave.h, lex.h, parse.h, pt-arg-list.h,
pt-array-list.h, pt-assign.h, pt-binop.h, pt-bp.h, pt-cell.h,
pt-check.h, pt-classdef.h, pt-cmd.h, pt-colon.h, pt-const.h,
pt-decl.h, pt-eval.h, pt-except.h, pt-exp.h, pt-fcn-handle.h,
pt-funcall.h, pt-id.h, pt-idx.h, pt-jump.h, pt-loop.h, pt-mat.h,
pt-misc.h, pt-pr-code.h, pt-select.h, pt-stmt.h, pt-unop.h,
pt-walk.h, pt.h, token.h, Array.cc, idx-vector.h, oct-fftw.h,
sparse-chol.cc, sparse-qr.cc, file-ops.h, mach-info.h, oct-env.h,
action-container.h, cmd-edit.cc, cmd-edit.h, cmd-hist.h,
oct-locbuf.h, oct-mutex.h, oct-shlib.cc, oct-sort.h, pathsearch.h,
singleton-cleanup.h, unwind-prot.h, url-transfer.cc, url-transfer.h:
Declare deleted copy constructors and assignment operators public.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Dec 2016 12:40:45 -0500 |
parents | 89756f2f085b |
children | 4e3d47dc7e25 |
rev | line source |
---|---|
2982 | 1 /* |
2 | |
22323
bac0d6f07a3e
maint: Update copyright notices for 2016.
John W. Eaton <jwe@octave.org>
parents:
21244
diff
changeset
|
3 Copyright (C) 1996-2016 John W. Eaton |
2982 | 4 |
5 This file is part of Octave. | |
6 | |
7 Octave is free software; you can redistribute it and/or modify it | |
22755
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
8 under the terms of the GNU General Public License as published by |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
9 the Free Software Foundation; either version 3 of the License, or |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
10 (at your option) any later version. |
2982 | 11 |
22755
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
12 Octave is distributed in the hope that it will be useful, but |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
13 WITHOUT ANY WARRANTY; without even the implied warranty of |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
15 GNU General Public License for more details. |
2982 | 16 |
17 You should have received a copy of the GNU General Public License | |
7016 | 18 along with Octave; see the file COPYING. If not, see |
19 <http://www.gnu.org/licenses/>. | |
2982 | 20 |
21 */ | |
22 | |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19697
diff
changeset
|
23 #if ! defined (octave_pt_select_h) |
17822
ebb3ef964372
maint: Use common #define syntax "octave_filename_h" in h_files.
Rik <rik@octave.org>
parents:
17787
diff
changeset
|
24 #define octave_pt_select_h 1 |
2982 | 25 |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
26 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
27 |
2982 | 28 class expression; |
29 class tree_statement_list; | |
30 | |
31 class tree_walker; | |
32 | |
4219 | 33 #include "base-list.h" |
3665 | 34 #include "comment-list.h" |
2982 | 35 #include "pt-cmd.h" |
7336 | 36 #include "symtab.h" |
2982 | 37 |
38 // If. | |
39 | |
40 class | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
41 tree_if_clause : public tree |
2982 | 42 { |
43 public: | |
44 | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
45 tree_if_clause (int l = -1, int c = -1) |
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
46 : tree (l, c), expr (0), list (0), lead_comm (0) { } |
2982 | 47 |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
48 tree_if_clause (tree_statement_list *sl, octave_comment_list *lc = 0, |
10313 | 49 int l = -1, int c = -1) |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
50 : tree (l, c), expr (0), list (sl), lead_comm (lc) { } |
2982 | 51 |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
52 tree_if_clause (tree_expression *e, tree_statement_list *sl, |
10313 | 53 octave_comment_list *lc = 0, |
54 int l = -1, int c = -1) | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
55 : tree (l, c), expr (e), list (sl), lead_comm (lc) { } |
2982 | 56 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
57 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
58 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
59 tree_if_clause (const tree_if_clause&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
60 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
61 tree_if_clause& operator = (const tree_if_clause&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
62 |
2982 | 63 ~tree_if_clause (void); |
64 | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
65 bool is_else_clause (void) { return ! expr; } |
2982 | 66 |
67 tree_expression *condition (void) { return expr; } | |
68 | |
69 tree_statement_list *commands (void) { return list; } | |
70 | |
3665 | 71 octave_comment_list *leading_comment (void) { return lead_comm; } |
72 | |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
73 tree_if_clause *dup (symbol_table::scope_id scope, |
10313 | 74 symbol_table::context_id context) const; |
5861 | 75 |
2982 | 76 void accept (tree_walker& tw); |
77 | |
78 private: | |
79 | |
80 // The condition to test. | |
81 tree_expression *expr; | |
82 | |
83 // The list of statements to evaluate if expr is true. | |
84 tree_statement_list *list; | |
2988 | 85 |
3665 | 86 // Comment preceding ELSE or ELSEIF token. |
87 octave_comment_list *lead_comm; | |
2982 | 88 }; |
89 | |
90 class | |
22333
2758af148ced
move base_list and regexp classes to octave namespace
John W. Eaton <jwe@octave.org>
parents:
22323
diff
changeset
|
91 tree_if_command_list : public octave::base_list<tree_if_clause *> |
2982 | 92 { |
93 public: | |
94 | |
4219 | 95 tree_if_command_list (void) { } |
2982 | 96 |
4219 | 97 tree_if_command_list (tree_if_clause *t) { append (t); } |
2982 | 98 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
99 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
100 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
101 tree_if_command_list (const tree_if_command_list&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
102 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
103 tree_if_command_list& operator = (const tree_if_command_list&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
104 |
2982 | 105 ~tree_if_command_list (void) |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
106 { |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
107 while (! empty ()) |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
108 { |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
109 iterator p = begin (); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
110 delete *p; |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
111 erase (p); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
112 } |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
113 } |
2982 | 114 |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
115 tree_if_command_list *dup (symbol_table::scope_id scope, |
10313 | 116 symbol_table::context_id context) const; |
5861 | 117 |
2982 | 118 void accept (tree_walker& tw); |
119 }; | |
120 | |
121 class | |
122 tree_if_command : public tree_command | |
123 { | |
124 public: | |
125 | |
126 tree_if_command (int l = -1, int c = -1) | |
3665 | 127 : tree_command (l, c), list (0), lead_comm (0), trail_comm (0) { } |
2982 | 128 |
3665 | 129 tree_if_command (tree_if_command_list *lst, octave_comment_list *lc, |
10313 | 130 octave_comment_list *tc, int l = -1, int c = -1) |
3665 | 131 : tree_command (l, c), list (lst), lead_comm (lc), trail_comm (tc) { } |
2982 | 132 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
133 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
134 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
135 tree_if_command (const tree_if_command&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
136 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
137 tree_if_command& operator = (const tree_if_command&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
138 |
2982 | 139 ~tree_if_command (void); |
140 | |
141 tree_if_command_list *cmd_list (void) { return list; } | |
142 | |
3665 | 143 octave_comment_list *leading_comment (void) { return lead_comm; } |
144 | |
145 octave_comment_list *trailing_comment (void) { return trail_comm; } | |
146 | |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
147 tree_command *dup (symbol_table::scope_id scope, |
10313 | 148 symbol_table::context_id context) const; |
5861 | 149 |
2982 | 150 void accept (tree_walker& tw); |
151 | |
152 private: | |
153 | |
154 // List of if commands (if, elseif, elseif, ... else, endif) | |
155 tree_if_command_list *list; | |
2988 | 156 |
3665 | 157 // Comment preceding IF token. |
158 octave_comment_list *lead_comm; | |
159 | |
160 // Comment preceding ENDIF token. | |
161 octave_comment_list *trail_comm; | |
2982 | 162 }; |
163 | |
164 // Switch. | |
165 | |
166 class | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
167 tree_switch_case : public tree |
2982 | 168 { |
169 public: | |
170 | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
171 tree_switch_case (int l = -1, int c = -1) |
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
172 : tree (l, c), label (0), list (0), lead_comm (0) { } |
2982 | 173 |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
174 tree_switch_case (tree_statement_list *sl, octave_comment_list *lc = 0, |
10313 | 175 int l = -1, int c = -1) |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
176 : tree (l, c), label (0), list (sl), lead_comm (lc) { } |
2982 | 177 |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
178 tree_switch_case (tree_expression *e, tree_statement_list *sl, |
10313 | 179 octave_comment_list *lc = 0, |
180 int l = -1, int c = -1) | |
8658
73c4516fae10
New evaluator and debugger derived from tree-walker class
John W. Eaton <jwe@octave.org>
parents:
8011
diff
changeset
|
181 : tree (l, c), label (e), list (sl), lead_comm (lc) { } |
2982 | 182 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
183 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
184 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
185 tree_switch_case (const tree_switch_case&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
186 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
187 tree_switch_case& operator = (const tree_switch_case&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
188 |
2982 | 189 ~tree_switch_case (void); |
190 | |
3933 | 191 bool is_default_case (void) { return ! label; } |
2982 | 192 |
193 bool label_matches (const octave_value& val); | |
194 | |
195 tree_expression *case_label (void) { return label; } | |
196 | |
197 tree_statement_list *commands (void) { return list; } | |
198 | |
3665 | 199 octave_comment_list *leading_comment (void) { return lead_comm; } |
200 | |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
201 tree_switch_case *dup (symbol_table::scope_id scope, |
10313 | 202 symbol_table::context_id context) const; |
5861 | 203 |
2982 | 204 void accept (tree_walker& tw); |
205 | |
206 private: | |
207 | |
208 // The case label. | |
209 tree_expression *label; | |
210 | |
211 // The list of statements to evaluate if the label matches. | |
212 tree_statement_list *list; | |
2988 | 213 |
3665 | 214 // Comment preceding CASE or OTHERWISE token. |
215 octave_comment_list *lead_comm; | |
2982 | 216 }; |
217 | |
218 class | |
22333
2758af148ced
move base_list and regexp classes to octave namespace
John W. Eaton <jwe@octave.org>
parents:
22323
diff
changeset
|
219 tree_switch_case_list : public octave::base_list<tree_switch_case *> |
2982 | 220 { |
221 public: | |
222 | |
4219 | 223 tree_switch_case_list (void) { } |
2982 | 224 |
4219 | 225 tree_switch_case_list (tree_switch_case *t) { append (t); } |
2982 | 226 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
227 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
228 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
229 tree_switch_case_list (const tree_switch_case_list&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
230 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
231 tree_switch_case_list& operator = (const tree_switch_case_list&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
232 |
2982 | 233 ~tree_switch_case_list (void) |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
234 { |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
235 while (! empty ()) |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
236 { |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
237 iterator p = begin (); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
238 delete *p; |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
239 erase (p); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
240 } |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
241 } |
2982 | 242 |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
243 tree_switch_case_list *dup (symbol_table::scope_id scope, |
10313 | 244 symbol_table::context_id context) const; |
5861 | 245 |
2982 | 246 void accept (tree_walker& tw); |
247 }; | |
248 | |
249 class | |
250 tree_switch_command : public tree_command | |
251 { | |
252 public: | |
253 | |
254 tree_switch_command (int l = -1, int c = -1) | |
3665 | 255 : tree_command (l, c), expr (0), list (0), lead_comm (0), |
256 trail_comm (0) { } | |
2982 | 257 |
258 tree_switch_command (tree_expression *e, tree_switch_case_list *lst, | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
259 octave_comment_list *lc, octave_comment_list *tc, |
10313 | 260 int l = -1, int c = -1) |
3665 | 261 : tree_command (l, c), expr (e), list (lst), lead_comm (lc), |
262 trail_comm (tc) { } | |
2982 | 263 |
22869
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
264 // No copying! |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
265 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
266 tree_switch_command (const tree_switch_command&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
267 |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
268 tree_switch_command& operator = (const tree_switch_command&) = delete; |
f75d289645ec
make deleted functions public
John W. Eaton <jwe@octave.org>
parents:
22865
diff
changeset
|
269 |
2982 | 270 ~tree_switch_command (void); |
271 | |
272 tree_expression *switch_value (void) { return expr; } | |
273 | |
274 tree_switch_case_list *case_list (void) { return list; } | |
275 | |
3665 | 276 octave_comment_list *leading_comment (void) { return lead_comm; } |
277 | |
278 octave_comment_list *trailing_comment (void) { return trail_comm; } | |
279 | |
7767
71f068b22fcc
scope and context fixes for function handles
John W. Eaton <jwe@octave.org>
parents:
7336
diff
changeset
|
280 tree_command *dup (symbol_table::scope_id scope, |
10313 | 281 symbol_table::context_id context) const; |
5861 | 282 |
2982 | 283 void accept (tree_walker& tw); |
284 | |
285 private: | |
286 | |
287 // Value on which to switch. | |
288 tree_expression *expr; | |
289 | |
290 // List of cases (case 1, case 2, ..., default) | |
291 tree_switch_case_list *list; | |
2988 | 292 |
3665 | 293 // Comment preceding SWITCH token. |
294 octave_comment_list *lead_comm; | |
295 | |
296 // Comment preceding ENDSWITCH token. | |
297 octave_comment_list *trail_comm; | |
2982 | 298 }; |
299 | |
300 #endif | |
22407
34ce5be04942
maint: Style check C++ code in libinterp/.
Rik <rik@octave.org>
parents:
22333
diff
changeset
|
301 |