Changes in src/SynTree/Constant.h [7f5566b:ca35c51]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.h
r7f5566b rca35c51 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Ju l 30 15:19:16 201513 // Update Count : 512 // Last Modified On : Thu Jun 30 13:33:17 2016 13 // Update Count : 6 14 14 // 15 15 … … 29 29 Type *get_type() { return type; } 30 30 void set_type( Type *newValue ) { type = newValue; } 31 std::string get_value() { return value; }31 std::string &get_value() { return value; } 32 32 void set_value( std::string newValue ) { value = newValue; } 33 34 /// generates an integer constant of the given int 35 static Constant from_int( int i ); 36 /// generates an integer constant of the given unsigned long int 37 static Constant from_ulong( unsigned long i ); 38 /// generates a floating point constant of the given double 39 static Constant from_double( double d ); 33 40 34 41 virtual Constant *clone() const;
Note:
See TracChangeset
for help on using the changeset viewer.