Mercurial > hg > octave-lyh
diff src/pt-exp.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 | ef3caf27cb9c |
line wrap: on
line diff
--- a/src/pt-exp.h +++ b/src/pt-exp.h @@ -47,34 +47,23 @@ virtual ~tree_expression (void) { } - virtual bool is_constant (void) const - { return false; } + virtual bool is_constant (void) const { return false; } - virtual bool is_matrix_constant (void) const - { return false; } + virtual bool is_matrix_constant (void) const { return false; } - virtual bool is_identifier (void) const - { return false; } + virtual bool is_identifier (void) const { return false; } - virtual bool is_index_expression (void) const - { return false; } - - virtual bool is_indirect_ref (void) const - { return false; } + virtual bool is_index_expression (void) const { return false; } - virtual bool is_assignment_expression (void) const - { return false; } + virtual bool is_assignment_expression (void) const { return false; } - virtual bool is_prefix_expression (void) const - { return false; } + virtual bool is_prefix_expression (void) const { return false; } virtual bool is_logically_true (const char *); - virtual bool lvalue_ok (void) const - { return false; } + virtual bool lvalue_ok (void) const { return false; } - virtual bool rvalue_ok (void) const - { return false; } + virtual bool rvalue_ok (void) const { return false; } virtual octave_value rvalue (void); @@ -82,20 +71,15 @@ virtual octave_lvalue lvalue (void); - int paren_count (void) const - { return num_parens; } + int paren_count (void) const { return num_parens; } - bool is_postfix_indexed (void) const - { return postfix_indexed; } + bool is_postfix_indexed (void) const { return postfix_indexed; } - bool print_result (void) const - { return print_flag; } + bool print_result (void) const { return print_flag; } - virtual std::string oper (void) const - { return "<unknown>"; } + virtual std::string oper (void) const { return "<unknown>"; } - virtual std::string name (void) const - { return "<unknown>"; } + virtual std::string name (void) const { return "<unknown>"; } virtual std::string original_text (void) const;