Changes in src/SynTree/Constant.h [6ea87486:2c37f34]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.h
r6ea87486 r2c37f34 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Constant.h -- 7 // Constant.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Jul 14 13:33:00 201713 // Update Count : 1 612 // Last Modified On : Thr Jun 22 10:13:00 2017 13 // Update Count : 15 14 14 // 15 15 … … 32 32 std::string & get_value() { return rep; } 33 33 void set_value( std::string newValue ) { rep = newValue; } 34 unsigned long long get_ival() const;35 double get_dval() const;36 34 37 35 /// generates a boolean constant of the given bool … … 43 41 /// generates a floating point constant of the given double 44 42 static Constant from_double( double d ); 45 46 /// generates a null pointer value for the given type. void * if omitted.47 static Constant null( Type * ptrtype = nullptr );48 43 49 44 virtual void accept( Visitor & v ) { v.visit( this ); }
Note:
See TracChangeset
for help on using the changeset viewer.