* @brief Constructor.
*
* @param ptr the key used in the map.
+ * @note the pointer will be stored in the map as a key,
+ * not the content
*/
RplKeyCharPtr::RplKeyCharPtr(const char* ptr) :
m_ptr(ptr)
class RplReader {
public:
- typedef QMap<RplSourceUnitName, RplSourceUnit*> UnitMap;
+ typedef RplCharPtrMap<RplSourceUnit*> UnitMap;
public:
RplReader(RplSource& source);
~RplReader();
extern void testRplVM();
//testRplVM();
+ extern void testRplSource();
+ testRplSource();
+
+ extern void testRplLexer();
+ testRplLexer();
+
extern void testRplMFParser();
testRplMFParser();
extern void testRplASTree();
testRplASTree();
- extern void testRplLexer();
- testRplLexer();
+
}
void testStandard(){
- //testExpr();
+ testExpr();
testCore();
extern void testRplMatrix();
testRplMatrix();
rplbytestorage_test.cpp \
rplwriter_test.cpp \
rplbench.cpp \
- rplcharptrmap_test.cpp
+ rplcharptrmap_test.cpp \
+ ../rplcore/rplcharptrmap.cpp