Changeset 59db689 for src/SynTree
- Timestamp:
- Jun 6, 2015, 11:38:58 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- cd623a4
- Parents:
- a65d92e
- Location:
- src/SynTree
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/ArrayType.cc
ra65d92e r59db689 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 4 21:16:46201513 // Update Count : 712 // Last Modified On : Sat Jun 6 14:11:48 2015 13 // Update Count : 9 14 14 // 15 15 … … 50 50 } // if 51 51 if ( dimension ) { 52 os << "with dimension of "; 52 53 dimension->print( os, indent ); 53 54 } // if -
src/SynTree/BasicType.cc
ra65d92e r59db689 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 07:55:16201513 // Update Count : 112 // Last Modified On : Sat Jun 6 11:52:43 2015 13 // Update Count : 2 14 14 // 15 15 -
src/SynTree/Constant.cc
ra65d92e r59db689 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 08:13:25201513 // Update Count : 112 // Last Modified On : Sat Jun 6 12:17:22 2015 13 // Update Count : 2 14 14 // 15 15 … … 20 20 #include "Type.h" 21 21 22 Constant::Constant( Type * _type, std::string _value ) : type(_type), value(_value) {}22 Constant::Constant( Type *type_, std::string value_ ) : type( type_ ), value( value_ ) {} 23 23 24 24 Constant::~Constant() {} -
src/SynTree/Expression.cc
ra65d92e r59db689 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jun 5 07:51:09 201513 // Update Count : 1 112 // Last Modified On : Sat Jun 6 14:13:39 2015 13 // Update Count : 14 14 14 // 15 15 … … 50 50 } 51 51 52 void Expression::print( std::ostream &os, int indent) const {52 void Expression::print( std::ostream &os, int indent ) const { 53 53 if ( env ) { 54 54 os << std::string( indent, ' ' ) << "with environment:" << std::endl; … … 72 72 73 73 void ConstantExpr::print( std::ostream &os, int indent ) const { 74 os << std::endl; 75 os << std::string( indent, ' ' ) << "dimension of constant expression: " ; 74 os << std::string( indent, ' ' ) << "constant expression: " ; 76 75 constant.print( os ); 77 76 Expression::print( os, indent ); -
src/SynTree/Type.h
ra65d92e r59db689 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 11:01:40201513 // Update Count : 112 // Last Modified On : Sat Jun 6 14:12:14 2015 13 // Update Count : 2 14 14 // 15 15 … … 110 110 }; 111 111 112 static const char *typeNames[]; // string names for basic types, MUST MATCH with Kind112 static const char *typeNames[]; // string names for basic types, MUST MATCH with Kind 113 113 114 114 BasicType( const Type::Qualifiers &tq, Kind bt );
Note:
See TracChangeset
for help on using the changeset viewer.