GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
pt-cell.cc
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 1999-2018 John W. Eaton
4
5
This file is part of Octave.
6
7
Octave is free software: you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
Octave is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Octave; see the file COPYING. If not, see
19
<https://www.gnu.org/licenses/>.
20
21
*/
22
23
#if defined (HAVE_CONFIG_H)
24
# include "config.h"
25
#endif
26
27
#include <iostream>
28
29
#include "
Cell.h
"
30
#include "
ovl.h
"
31
#include "
pt-arg-list.h
"
32
#include "
pt-exp.h
"
33
#include "
pt-cell.h
"
34
#include "
pt-walk.h
"
35
#include "
ov.h
"
36
37
namespace
octave
38
{
39
tree_expression *
40
tree_cell::dup
(
symbol_scope
& scope)
const
41
{
42
tree_cell
*new_cell =
new
tree_cell
(
nullptr
,
line
(),
column
());
43
44
new_cell->
copy_base
(*
this
, scope);
45
46
return
new_cell;
47
}
48
}
octave::tree_array_list::copy_base
void copy_base(const tree_array_list &array_list)
Definition:
pt-array-list.cc:75
pt-cell.h
octave
Definition:
aepbalance.cc:44
octave::tree::column
virtual int column(void) const
Definition:
pt.h:58
pt-walk.h
octave::tree_cell
Definition:
pt-cell.h:43
pt-arg-list.h
line
Definition:
graphics.in.h:4290
octave::symbol_scope
Definition:
symscope.h:600
Cell.h
ov.h
octave::tree_cell::dup
tree_expression * dup(symbol_scope &scope) const
Definition:
pt-cell.cc:40
octave::tree_cell::tree_cell
tree_cell(tree_argument_list *row=nullptr, int l=-1, int c=-1)
Definition:
pt-cell.h:47
pt-exp.h
ovl.h
libinterp
parse-tree
pt-cell.cc
Generated on Sat Sep 1 2018 14:01:42 for GNU Octave by
1.8.14