Mercurial > hg > octave-lyh
comparison src/pt-id.h @ 3933:f9ea3dcf58ee
[project @ 2002-05-15 03:21:00 by jwe]
author | jwe |
---|---|
date | Wed, 15 May 2002 03:21:01 +0000 |
parents | b80bbb43a1a9 |
children | 6e86256e9c54 |
comparison
equal
deleted
inserted
replaced
3932:2e2e32198722 | 3933:f9ea3dcf58ee |
---|---|
54 tree_identifier (symbol_record *s, int l = -1, int c = -1) | 54 tree_identifier (symbol_record *s, int l = -1, int c = -1) |
55 : tree_expression (l, c), sym (s) { } | 55 : tree_expression (l, c), sym (s) { } |
56 | 56 |
57 ~tree_identifier (void) { } | 57 ~tree_identifier (void) { } |
58 | 58 |
59 bool is_identifier (void) const | 59 bool is_identifier (void) const { return true; } |
60 { return true; } | |
61 | 60 |
62 std::string name (void) const; | 61 std::string name (void) const; |
63 | 62 |
64 tree_identifier *define (octave_function *f, unsigned int sym_type); | 63 tree_identifier *define (octave_function *f, unsigned int sym_type); |
65 | 64 |
79 void mark_as_formal_parameter (void); | 78 void mark_as_formal_parameter (void); |
80 | 79 |
81 // We really need to know whether this symbol referst to a variable | 80 // We really need to know whether this symbol referst to a variable |
82 // or a function, but we may not know that yet. | 81 // or a function, but we may not know that yet. |
83 | 82 |
84 bool lvalue_ok (void) const | 83 bool lvalue_ok (void) const { return true; } |
85 { return true; } | |
86 | 84 |
87 octave_value rvalue (void); | 85 octave_value rvalue (void); |
88 | 86 |
89 octave_value_list rvalue (int nargout); | 87 octave_value_list rvalue (int nargout); |
90 | 88 |