Changes in src/SynTree/Constant.h [ca35c51:7f5566b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.h
rca35c51 r7f5566b 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 n 30 13:33:17 201613 // Update Count : 612 // Last Modified On : Thu Jul 30 15:19:16 2015 13 // Update Count : 5 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 int35 static Constant from_int( int i );36 /// generates an integer constant of the given unsigned long int37 static Constant from_ulong( unsigned long i );38 /// generates a floating point constant of the given double39 static Constant from_double( double d );40 33 41 34 virtual Constant *clone() const;
Note:
See TracChangeset
for help on using the changeset viewer.