summaryrefslogtreecommitdiffstats
path: root/languages/java/JavaStoreWalker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/JavaStoreWalker.cpp')
-rw-r--r--languages/java/JavaStoreWalker.cpp80
1 files changed, 40 insertions, 40 deletions
diff --git a/languages/java/JavaStoreWalker.cpp b/languages/java/JavaStoreWalker.cpp
index b442aafd..1bdb9522 100644
--- a/languages/java/JavaStoreWalker.cpp
+++ b/languages/java/JavaStoreWalker.cpp
@@ -15,7 +15,7 @@ JavaStoreWalker::JavaStoreWalker()
void JavaStoreWalker::compilationUnit(RefJavaAST _t) {
RefJavaAST compilationUnit_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 75 "java.store.g"
- QString package; QString imp; QStringList imports;
+ TQString package; TQString imp; TQStringList imports;
#line 20 "JavaStoreWalker.cpp"
try { // for error handling
@@ -87,9 +87,9 @@ void JavaStoreWalker::compilationUnit(RefJavaAST _t) {
_retTree = _t;
}
- QString JavaStoreWalker::packageDefinition(RefJavaAST _t) {
+ TQString JavaStoreWalker::packageDefinition(RefJavaAST _t) {
#line 82 "java.store.g"
- QString id ;
+ TQString id ;
#line 94 "JavaStoreWalker.cpp"
RefJavaAST packageDefinition_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -112,9 +112,9 @@ void JavaStoreWalker::compilationUnit(RefJavaAST _t) {
return id ;
}
- QString JavaStoreWalker::importDefinition(RefJavaAST _t) {
+ TQString JavaStoreWalker::importDefinition(RefJavaAST _t) {
#line 86 "java.store.g"
- QString id ;
+ TQString id ;
#line 119 "JavaStoreWalker.cpp"
RefJavaAST importDefinition_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -140,7 +140,7 @@ void JavaStoreWalker::compilationUnit(RefJavaAST _t) {
void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
RefJavaAST typeDefinition_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 90 "java.store.g"
- QStringList bases; QString className; ClassDom klass; QStringList m;
+ TQStringList bases; TQString className; ClassDom klass; TQStringList m;
#line 145 "JavaStoreWalker.cpp"
try { // for error handling
@@ -161,8 +161,8 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
#line 92 "java.store.g"
klass = m_model->create<ClassModel>();
- QString name = QString::fromUtf8( tmp4_AST_in->getText().c_str(), tmp4_AST_in->getText().length() );
- QStringList path = QStringList::split( ".", name );
+ TQString name = TQString::fromUtf8( tmp4_AST_in->getText().c_str(), tmp4_AST_in->getText().length() );
+ TQStringList path = TQStringList::split( ".", name );
className = path.back();
klass->setName( path.back() );
@@ -181,7 +181,7 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
_t = _retTree;
#line 110 "java.store.g"
- for( QStringList::Iterator it = bases.begin(); it != bases.end(); ++it )
+ for( TQStringList::Iterator it = bases.begin(); it != bases.end(); ++it )
klass->addBaseClass( *it );
#line 188 "JavaStoreWalker.cpp"
@@ -219,8 +219,8 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
#line 126 "java.store.g"
klass = m_model->create<ClassModel>();
- QString name = QString::fromUtf8( tmp6_AST_in->getText().c_str(), tmp6_AST_in->getText().length() );
- QStringList path = QStringList::split( ".", name );
+ TQString name = TQString::fromUtf8( tmp6_AST_in->getText().c_str(), tmp6_AST_in->getText().length() );
+ TQStringList path = TQStringList::split( ".", name );
className = path.back();
klass->setName( path.back() );
@@ -270,9 +270,9 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
_retTree = _t;
}
- QString JavaStoreWalker::identifier(RefJavaAST _t) {
+ TQString JavaStoreWalker::identifier(RefJavaAST _t) {
#line 363 "java.store.g"
- QString id ;
+ TQString id ;
#line 277 "JavaStoreWalker.cpp"
RefJavaAST identifier_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -307,7 +307,7 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
_t = _t->getNextSibling();
#line 367 "java.store.g"
- id += QString(".") + tmp9_AST_in->getText().c_str();
+ id += TQString(".") + tmp9_AST_in->getText().c_str();
#line 313 "JavaStoreWalker.cpp"
break;
@@ -327,9 +327,9 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
return id ;
}
- QString JavaStoreWalker::identifierStar(RefJavaAST _t) {
+ TQString JavaStoreWalker::identifierStar(RefJavaAST _t) {
#line 372 "java.store.g"
- QString id ;
+ TQString id ;
#line 334 "JavaStoreWalker.cpp"
RefJavaAST identifierStar_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -367,7 +367,7 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
match(ANTLR_USE_NAMESPACE(antlr)RefAST(_t),STAR);
_t = _t->getNextSibling();
#line 376 "java.store.g"
- id += QString(".") + tmp12_AST_in->getText().c_str();
+ id += TQString(".") + tmp12_AST_in->getText().c_str();
#line 372 "JavaStoreWalker.cpp"
break;
}
@@ -377,7 +377,7 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
match(ANTLR_USE_NAMESPACE(antlr)RefAST(_t),IDENT);
_t = _t->getNextSibling();
#line 377 "java.store.g"
- id += QString(".") + tmp13_AST_in->getText().c_str();
+ id += TQString(".") + tmp13_AST_in->getText().c_str();
#line 382 "JavaStoreWalker.cpp"
break;
}
@@ -406,9 +406,9 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
return id ;
}
- QStringList JavaStoreWalker::modifiers(RefJavaAST _t) {
+ TQStringList JavaStoreWalker::modifiers(RefJavaAST _t) {
#line 183 "java.store.g"
- QStringList l ;
+ TQStringList l ;
#line 413 "JavaStoreWalker.cpp"
RefJavaAST modifiers_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
RefJavaAST m = RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST);
@@ -449,13 +449,13 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
return l ;
}
- QStringList JavaStoreWalker::extendsClause(RefJavaAST _t) {
+ TQStringList JavaStoreWalker::extendsClause(RefJavaAST _t) {
#line 202 "java.store.g"
- QStringList l ;
+ TQStringList l ;
#line 456 "JavaStoreWalker.cpp"
RefJavaAST extendsClause_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 202 "java.store.g"
- QString id;
+ TQString id;
#line 460 "JavaStoreWalker.cpp"
try { // for error handling
@@ -493,13 +493,13 @@ void JavaStoreWalker::typeDefinition(RefJavaAST _t) {
return l ;
}
- QStringList JavaStoreWalker::implementsClause(RefJavaAST _t) {
+ TQStringList JavaStoreWalker::implementsClause(RefJavaAST _t) {
#line 206 "java.store.g"
- QStringList l ;
+ TQStringList l ;
#line 500 "JavaStoreWalker.cpp"
RefJavaAST implementsClause_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 206 "java.store.g"
- QString id;
+ TQString id;
#line 504 "JavaStoreWalker.cpp"
try { // for error handling
@@ -695,9 +695,9 @@ void JavaStoreWalker::interfaceBlock(RefJavaAST _t,
_retTree = _t;
}
- QString JavaStoreWalker::typeSpec(RefJavaAST _t) {
+ TQString JavaStoreWalker::typeSpec(RefJavaAST _t) {
#line 157 "java.store.g"
- QString tp ;
+ TQString tp ;
#line 702 "JavaStoreWalker.cpp"
RefJavaAST typeSpec_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -720,9 +720,9 @@ void JavaStoreWalker::interfaceBlock(RefJavaAST _t,
return tp ;
}
- QString JavaStoreWalker::typeSpecArray(RefJavaAST _t) {
+ TQString JavaStoreWalker::typeSpecArray(RefJavaAST _t) {
#line 161 "java.store.g"
- QString tp ;
+ TQString tp ;
#line 727 "JavaStoreWalker.cpp"
RefJavaAST typeSpecArray_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
@@ -776,9 +776,9 @@ void JavaStoreWalker::interfaceBlock(RefJavaAST _t,
return tp ;
}
- QString JavaStoreWalker::type(RefJavaAST _t) {
+ TQString JavaStoreWalker::type(RefJavaAST _t) {
#line 166 "java.store.g"
- QString tp ;
+ TQString tp ;
#line 783 "JavaStoreWalker.cpp"
RefJavaAST type_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
RefJavaAST b = RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST);
@@ -1023,8 +1023,8 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
RefJavaAST methodDecl_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 257 "java.store.g"
- QStringList m;
- QString tp;
+ TQStringList m;
+ TQString tp;
meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() );
@@ -1071,8 +1071,8 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
RefJavaAST variableDef_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 293 "java.store.g"
- QStringList m;
- QString tp;
+ TQStringList m;
+ TQString tp;
attr = m_model->create<VariableModel>();
attr->setFileName( m_file->name() );
@@ -1123,7 +1123,7 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
RefJavaAST ctorDef_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 239 "java.store.g"
- QStringList m;
+ TQStringList m;
meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() );
@@ -1169,8 +1169,8 @@ void JavaStoreWalker::modifier(RefJavaAST _t) {
RefJavaAST methodDef_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 275 "java.store.g"
- QStringList m;
- QString tp;
+ TQStringList m;
+ TQString tp;
meth = m_model->create<FunctionModel>();
meth->setFileName( m_file->name() );
@@ -1426,7 +1426,7 @@ void JavaStoreWalker::varInitializer(RefJavaAST _t) {
RefJavaAST parameterDef_AST_in = (_t == RefJavaAST(ASTNULL)) ? RefJavaAST(ANTLR_USE_NAMESPACE(antlr)nullAST) : _t;
#line 313 "java.store.g"
- QString tp;
+ TQString tp;
arg = m_model->create<ArgumentModel>();
#line 1433 "JavaStoreWalker.cpp"