mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-12 11:35:21 +02:00
replace selection marker, test code is now valid cpp code.
This commit is contained in:
parent
94419b71d1
commit
45e948890f
9 changed files with 155 additions and 155 deletions
core/org.eclipse.cdt.ui.tests
resources/refactoring
ExtractConstant.rtsExtractExpression.rtsExtractFunctionTemplates.rtsExtractMethod.rtsExtractMethodPreprocessor.rtsGenerateGettersAndSetters.rtsHideMethod.rtsImplementMethod.rts
ui/org/eclipse/cdt/ui/tests/refactoring
|
@ -46,7 +46,7 @@ A::~A()
|
||||||
|
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
return //$42$//; //Hallo
|
return /*$*/42/*$$*/; //Hallo
|
||||||
}
|
}
|
||||||
|
|
||||||
void A::bar()
|
void A::bar()
|
||||||
|
@ -126,7 +126,7 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
//Hallo
|
//Hallo
|
||||||
return //$42$//;
|
return /*$*/42/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
void A::bar()
|
void A::bar()
|
||||||
|
@ -206,7 +206,7 @@ A::~A()
|
||||||
|
|
||||||
float A::foo()
|
float A::foo()
|
||||||
{
|
{
|
||||||
return //$42.0$//;
|
return /*$*/42.0/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
void A::bar()
|
void A::bar()
|
||||||
|
@ -287,7 +287,7 @@ int A::foo()
|
||||||
|
|
||||||
int bar()
|
int bar()
|
||||||
{
|
{
|
||||||
return //$42$//;
|
return /*$*/42/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -364,7 +364,7 @@ A::~A()
|
||||||
|
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
return //$42$//;
|
return /*$*/42/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -430,7 +430,7 @@ A::~A()
|
||||||
|
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
return //$42$//;
|
return /*$*/42/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
|
|
@ -25,7 +25,7 @@ class Test
|
||||||
|
|
||||||
void Test::test()
|
void Test::test()
|
||||||
{
|
{
|
||||||
if(//$5 == 3 + 2$//) {
|
if(/*$*/5 == 3 + 2/*$$*/) {
|
||||||
//...
|
//...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@ class Test
|
||||||
void Test::test()
|
void Test::test()
|
||||||
{
|
{
|
||||||
int num = 1;
|
int num = 1;
|
||||||
if(//$5 != 3 + num$//) {
|
if(/*$*/5 != 3 + num/*$$*/) {
|
||||||
//...
|
//...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,7 @@ void Test::test()
|
||||||
{
|
{
|
||||||
int five = 5;
|
int five = 5;
|
||||||
int six = 6;
|
int six = 6;
|
||||||
int result = //$five + six$//;
|
int result = /*$*/five + six/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -174,7 +174,7 @@ void Test::test()
|
||||||
{
|
{
|
||||||
helper s1 = "a";
|
helper s1 = "a";
|
||||||
helper s2 = "b";
|
helper s2 = "b";
|
||||||
helper result = //$s1 + s2$//;
|
helper result = /*$*/s1 + s2/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -227,7 +227,7 @@ void Test::test()
|
||||||
{
|
{
|
||||||
new_helper s1 = "a";
|
new_helper s1 = "a";
|
||||||
new_helper s2 = "b";
|
new_helper s2 = "b";
|
||||||
new_helper result = //$s1 + s2$//;
|
new_helper result = /*$*/s1 + s2/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -258,7 +258,7 @@ struct helper {};
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
helper* h = //$new helper$//;
|
helper* h = /*$*/new helper/*$$*/;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
//=
|
//=
|
||||||
|
@ -293,7 +293,7 @@ string join(string s1, char* s2)
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
string hello = "Hello";
|
string hello = "Hello";
|
||||||
cout << //$join(hello, "World")$// << endl;
|
cout << /*$*/join(hello, "World")/*$$*/ << endl;
|
||||||
}
|
}
|
||||||
//=
|
//=
|
||||||
class string {};
|
class string {};
|
||||||
|
@ -332,7 +332,7 @@ class Klass
|
||||||
void test()
|
void test()
|
||||||
{
|
{
|
||||||
other o;
|
other o;
|
||||||
this->set(//$o.value()$//);
|
this->set(/*$*/o.value()/*$$*/);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ Cursor* contains(const Cursor& pos);
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Cursor c;
|
Cursor c;
|
||||||
contains(//$contains(c)$//);
|
contains(/*$*/contains(c)/*$$*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -407,7 +407,7 @@ Cursor* contains(const Cursor& pos)
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
Cursor c;
|
Cursor c;
|
||||||
contains(//$contains(c)$//);
|
contains(/*$*/contains(c)/*$$*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
|
|
@ -8,8 +8,8 @@ int tempFunct(){
|
||||||
|
|
||||||
T i;
|
T i;
|
||||||
i = 0;
|
i = 0;
|
||||||
//$i++;
|
/*$*/i++;
|
||||||
i+=3;$//
|
i+=3;/*$$*/
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,8 @@ void test(){
|
||||||
template <typename T>
|
template <typename T>
|
||||||
int tempFunct(T p){
|
int tempFunct(T p){
|
||||||
|
|
||||||
//$++p;
|
/*$*/++p;
|
||||||
p + 4;$//
|
p + 4;/*$$*/
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,9 +69,9 @@ void test(){
|
||||||
template <typename T>
|
template <typename T>
|
||||||
int tempFunct(){
|
int tempFunct(){
|
||||||
|
|
||||||
//$T p;
|
/*$*/T p;
|
||||||
p = 0;
|
p = 0;
|
||||||
p + 4;$//
|
p + 4;/*$$*/
|
||||||
p + 2;
|
p + 2;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,9 +47,9 @@ A::~A()
|
||||||
}
|
}
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
//$int i = 2;
|
/*$*/int i = 2;
|
||||||
++i;
|
++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,8 +138,8 @@ int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//comment
|
//comment
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ int main(){
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
// Comment
|
// Comment
|
||||||
//$i= 7;$//
|
/*$*/i= 7;/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ returnparameterindex=0
|
||||||
int main(){
|
int main(){
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
//$i= 7;$// // Comment
|
/*$*/i= 7;/*$$*/ // Comment
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -280,11 +280,11 @@ A::~A()
|
||||||
|
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
//$int o = 1;
|
/*$*/int o = 1;
|
||||||
int i = 2;
|
int i = 2;
|
||||||
++i;
|
++i;
|
||||||
o++;
|
o++;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
o++;
|
o++;
|
||||||
return i;
|
return i;
|
||||||
}int A::help()
|
}int A::help()
|
||||||
|
@ -347,8 +347,8 @@ A::~A()
|
||||||
}
|
}
|
||||||
void A::foo()
|
void A::foo()
|
||||||
{
|
{
|
||||||
//$b = new B();
|
/*$*/b = new B();
|
||||||
help();$//
|
help();/*$$*/
|
||||||
}
|
}
|
||||||
|
|
||||||
int A::help()
|
int A::help()
|
||||||
|
@ -450,8 +450,8 @@ A::~A()
|
||||||
}
|
}
|
||||||
void A::foo()
|
void A::foo()
|
||||||
{
|
{
|
||||||
//$b = new B();
|
/*$*/b = new B();
|
||||||
help();$//
|
help();/*$$*/
|
||||||
}
|
}
|
||||||
|
|
||||||
int A::help()
|
int A::help()
|
||||||
|
@ -550,9 +550,9 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
i += ZWO;
|
i += ZWO;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -644,9 +644,9 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
i = ADD(i, 42);
|
i = ADD(i, 42);
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -736,8 +736,8 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int* i = new int(2);
|
int* i = new int(2);
|
||||||
//$++*i;
|
/*$*/++*i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return *i;
|
return *i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -824,9 +824,9 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int* i = new int(2);
|
int* i = new int(2);
|
||||||
//$++*i;
|
/*$*/++*i;
|
||||||
help();
|
help();
|
||||||
//A end-comment$//
|
//A end-comment/*$$*/
|
||||||
return *i;
|
return *i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -915,8 +915,8 @@ int A::foo()
|
||||||
{
|
{
|
||||||
//A beautiful comment
|
//A beautiful comment
|
||||||
int* i = new int(2);
|
int* i = new int(2);
|
||||||
//$++*i;
|
/*$*/++*i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return *i;
|
return *i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1007,8 +1007,8 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1100,9 +1100,9 @@ int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
int b = i;
|
int b = i;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
i = i + b;
|
i = i + b;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
++b;
|
++b;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -1200,10 +1200,10 @@ int A::foo()
|
||||||
float x = i;
|
float x = i;
|
||||||
B* b = new B();
|
B* b = new B();
|
||||||
int y = x + i;
|
int y = x + i;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
i = i + x;
|
i = i + x;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
++x;
|
++x;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -1308,10 +1308,10 @@ int A::foo()
|
||||||
float x = i;
|
float x = i;
|
||||||
B* b = new B();
|
B* b = new B();
|
||||||
int y = x + i;
|
int y = x + i;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
i = i + x;
|
i = i + x;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
++x;
|
++x;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -1430,10 +1430,10 @@ int A::foo()
|
||||||
float x = i;
|
float x = i;
|
||||||
B* b = new B();
|
B* b = new B();
|
||||||
int y = x + i;
|
int y = x + i;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
i = i + x;
|
i = i + x;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
++x;
|
++x;
|
||||||
return i;
|
return i;
|
||||||
|
@ -1554,10 +1554,10 @@ int A::foo()
|
||||||
float x = i;
|
float x = i;
|
||||||
B* b = new B();
|
B* b = new B();
|
||||||
int y = x + i;
|
int y = x + i;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
i = i + x;
|
i = i + x;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
b->hello(y);
|
b->hello(y);
|
||||||
++x;
|
++x;
|
||||||
return i;
|
return i;
|
||||||
|
@ -1669,8 +1669,8 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1765,8 +1765,8 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1861,8 +1861,8 @@ A::~A()
|
||||||
int A::foo() const
|
int A::foo() const
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1915,10 +1915,10 @@ methodname=loop
|
||||||
|
|
||||||
void method()
|
void method()
|
||||||
{
|
{
|
||||||
//$for (int var = 0; var < 100; ++var) {
|
/*$*/for (int var = 0; var < 100; ++var) {
|
||||||
if(var < 50)
|
if(var < 50)
|
||||||
continue;
|
continue;
|
||||||
}$//
|
}/*$$*/
|
||||||
}
|
}
|
||||||
//=
|
//=
|
||||||
|
|
||||||
|
@ -1944,8 +1944,8 @@ fatalerror=true
|
||||||
|
|
||||||
void method()
|
void method()
|
||||||
{
|
{
|
||||||
//$if(true)
|
/*$*/if(true)
|
||||||
return;$//
|
return;/*$$*/
|
||||||
//unreachable
|
//unreachable
|
||||||
}
|
}
|
||||||
//!test if we don't allow to extract 'continue' Bug #53
|
//!test if we don't allow to extract 'continue' Bug #53
|
||||||
|
@ -1958,8 +1958,8 @@ filename=A.h
|
||||||
void function()
|
void function()
|
||||||
{
|
{
|
||||||
for (int var = 0; var < 100; ++var) {
|
for (int var = 0; var < 100; ++var) {
|
||||||
//$if(var < 50)
|
/*$*/if(var < 50)
|
||||||
continue;$//
|
continue;/*$$*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1974,11 +1974,11 @@ methodname=runTest
|
||||||
|
|
||||||
void testFuerRainer(){
|
void testFuerRainer(){
|
||||||
int i=int();
|
int i=int();
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
//Leading Comment
|
//Leading Comment
|
||||||
ASSERT (i);
|
ASSERT (i);
|
||||||
//Trailling Comment
|
//Trailling Comment
|
||||||
--i;$//
|
--i;/*$$*/
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -2010,9 +2010,9 @@ methodname=runTest
|
||||||
|
|
||||||
void testFuerRainer(){
|
void testFuerRainer(){
|
||||||
int i=int();
|
int i=int();
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
ASSERT (i);
|
ASSERT (i);
|
||||||
--i;$//
|
--i;/*$$*/
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -2045,8 +2045,8 @@ int const INITIAL_CAPACITY = 10;
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
int m_capacity;
|
int m_capacity;
|
||||||
//$m_capacity += INITIAL_CAPACITY;
|
/*$*/m_capacity += INITIAL_CAPACITY;
|
||||||
string* newElements = new string[m_capacity];$//
|
string* newElements = new string[m_capacity];/*$$*/
|
||||||
newElements[0] = "s";
|
newElements[0] = "s";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2121,7 +2121,7 @@ int A::foo(int& a)
|
||||||
{
|
{
|
||||||
int b = 7;
|
int b = 7;
|
||||||
int c = 8;
|
int c = 8;
|
||||||
//$a = b + c;$//
|
/*$*/a = b + c;/*$$*/
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
//=
|
//=
|
||||||
|
@ -2203,7 +2203,7 @@ Test::~Test() {
|
||||||
|
|
||||||
void Test::test()
|
void Test::test()
|
||||||
{
|
{
|
||||||
RetType v = //$RetType()$//;
|
RetType v = /*$*/RetType()/*$$*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
|
|
@ -50,9 +50,9 @@ A::~A()
|
||||||
int A::foo()
|
int A::foo()
|
||||||
{
|
{
|
||||||
int ii = 2;
|
int ii = 2;
|
||||||
//$++ii;
|
/*$*/++ii;
|
||||||
ii = ADD(ii, 42);
|
ii = ADD(ii, 42);
|
||||||
help();$//
|
help();/*$$*/
|
||||||
return ii;
|
return ii;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,9 +146,9 @@ int A::foo()
|
||||||
{
|
{
|
||||||
int i = 2;
|
int i = 2;
|
||||||
int b = 42;
|
int b = 42;
|
||||||
//$++i;
|
/*$*/++i;
|
||||||
help();
|
help();
|
||||||
ADD(b);$//
|
ADD(b);/*$$*/
|
||||||
b += 2;
|
b += 2;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -248,8 +248,8 @@ int A::foo()
|
||||||
int i = 2;
|
int i = 2;
|
||||||
int bb = 42;
|
int bb = 42;
|
||||||
++i;
|
++i;
|
||||||
//$ADD(bb);
|
/*$*/ADD(bb);
|
||||||
ADD(bb);$//
|
ADD(bb);/*$$*/
|
||||||
bb += 2;
|
bb += 2;
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public:
|
||||||
|
|
||||||
void Print();
|
void Print();
|
||||||
|
|
||||||
int //$SocSecNo$//();
|
int /*$*/SocSecNo/*$$*/();
|
||||||
|
|
||||||
int GetUniqueId();
|
int GetUniqueId();
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ namespace Personal {
|
||||||
|
|
||||||
void Print();
|
void Print();
|
||||||
|
|
||||||
int //$SocSecNo$//();
|
int /*$*/SocSecNo/*$$*/();
|
||||||
|
|
||||||
int GetUniqueId();
|
int GetUniqueId();
|
||||||
|
|
||||||
|
@ -277,7 +277,7 @@ public:
|
||||||
|
|
||||||
void Print();
|
void Print();
|
||||||
|
|
||||||
int //$SocSecNo$//();
|
int /*$*/SocSecNo/*$$*/();
|
||||||
|
|
||||||
int GetUniqueId();
|
int GetUniqueId();
|
||||||
|
|
||||||
|
@ -393,7 +393,7 @@ public:
|
||||||
|
|
||||||
void Print();
|
void Print();
|
||||||
|
|
||||||
int //$SocSecNo$//();
|
int /*$*/SocSecNo/*$$*/();
|
||||||
|
|
||||||
int GetUniqueId();
|
int GetUniqueId();
|
||||||
|
|
||||||
|
@ -514,7 +514,7 @@ public:
|
||||||
|
|
||||||
void Print();
|
void Print();
|
||||||
|
|
||||||
int //$SocSecNo$//();
|
int /*$*/SocSecNo/*$$*/();
|
||||||
|
|
||||||
int GetUniqueId();
|
int GetUniqueId();
|
||||||
|
|
||||||
|
@ -605,7 +605,7 @@ class GaS {
|
||||||
public:
|
public:
|
||||||
GaS();
|
GaS();
|
||||||
virtual ~GaS();
|
virtual ~GaS();
|
||||||
bool //$isOk$//;
|
bool /*$*/isOk/*$$*/;
|
||||||
void methode2();
|
void methode2();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -662,7 +662,7 @@ setters=id
|
||||||
|
|
||||||
class Person {
|
class Person {
|
||||||
private:
|
private:
|
||||||
int //$id$//;
|
int /*$*/id/*$$*/;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*C_H_*/
|
#endif /*C_H_*/
|
||||||
|
@ -706,7 +706,7 @@ setters=i
|
||||||
//comment1
|
//comment1
|
||||||
class test
|
class test
|
||||||
{
|
{
|
||||||
int //$i$//; //comment2
|
int /*$*/i/*$$*/; //comment2
|
||||||
char* b;
|
char* b;
|
||||||
//comment3
|
//comment3
|
||||||
};
|
};
|
||||||
|
@ -758,7 +758,7 @@ fatalerror=true
|
||||||
//comment1
|
//comment1
|
||||||
class test
|
class test
|
||||||
{
|
{
|
||||||
void //$test$//();
|
void /*$*/test/*$$*/();
|
||||||
//comment3
|
//comment3
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -50,7 +50,7 @@ class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//Kommentar
|
//Kommentar
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -90,7 +90,7 @@ class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
/*Kommentar*/
|
/*Kommentar*/
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -130,7 +130,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$////Kommentar
|
/*$*/void method2();/*$$*///Kommentar
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -168,7 +168,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$///*Kommentar*/
|
/*$*/void method2();/*$$*//*Kommentar*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -208,7 +208,7 @@ public:
|
||||||
A();
|
A();
|
||||||
|
|
||||||
//Kommentar
|
//Kommentar
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -249,7 +249,7 @@ public:
|
||||||
A();
|
A();
|
||||||
|
|
||||||
/*Kommentar*/
|
/*Kommentar*/
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -288,7 +288,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$////Kommentar
|
/*$*/void method2();/*$$*///Kommentar
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -326,7 +326,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$///*Kommentar*/
|
/*$*/void method2();/*$$*//*Kommentar*/
|
||||||
|
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
|
@ -366,7 +366,7 @@ public:
|
||||||
/*
|
/*
|
||||||
* Kommentar
|
* Kommentar
|
||||||
*/
|
*/
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -405,7 +405,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void method2();$// /*
|
/*$*/void method2();/*$$*/ /*
|
||||||
* Kommentar
|
* Kommentar
|
||||||
*/
|
*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
|
@ -450,7 +450,7 @@ public:
|
||||||
/*
|
/*
|
||||||
* Davor
|
* Davor
|
||||||
*/
|
*/
|
||||||
//$void method2();$// /*
|
/*$*/void method2();/*$$*/ /*
|
||||||
* Kommentar
|
* Kommentar
|
||||||
*/
|
*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
|
@ -496,7 +496,7 @@ class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
/*123*/
|
/*123*/
|
||||||
//$void method2();$////TEST
|
/*$*/void method2();/*$$*///TEST
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -536,7 +536,7 @@ class A{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
/*123*/
|
/*123*/
|
||||||
//$void method2();$///*TEST*/
|
/*$*/void method2();/*$$*//*TEST*/
|
||||||
std::string toString();
|
std::string toString();
|
||||||
private:
|
private:
|
||||||
int i;
|
int i;
|
||||||
|
@ -573,7 +573,7 @@ errors=1
|
||||||
|
|
||||||
class A{
|
class A{
|
||||||
private:
|
private:
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -603,7 +603,7 @@ filename=A.h
|
||||||
|
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
//$void method1();$//
|
/*$*/void method1();/*$$*/
|
||||||
void method2();
|
void method2();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -636,7 +636,7 @@ filename=A.h
|
||||||
|
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
//$void method1();$//void method2();
|
/*$*/void method1();/*$$*/void method2();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -669,7 +669,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
//Kommentar
|
//Kommentar
|
||||||
//$void method1();$//
|
/*$*/void method1();/*$$*/
|
||||||
void method2();
|
void method2();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -704,7 +704,7 @@ filename=A.h
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
//Kommentar
|
//Kommentar
|
||||||
//$void method1();$//void method2();
|
/*$*/void method1();/*$$*/void method2();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -764,7 +764,7 @@ private:
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
#include "A.h"
|
#include "A.h"
|
||||||
|
|
||||||
void A:://$method2$//()
|
void A::/*$*/method2/*$$*/()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -809,7 +809,7 @@ private:
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
#include "A.h"
|
#include "A.h"
|
||||||
|
|
||||||
void A:://$method2$//()
|
void A::/*$*/method2/*$$*/()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -825,7 +825,7 @@ class HideMethod {
|
||||||
public:
|
public:
|
||||||
HideMethod();
|
HideMethod();
|
||||||
virtual ~HideMethod();
|
virtual ~HideMethod();
|
||||||
void //$methode2$//();
|
void /*$*/methode2/*$$*/();
|
||||||
void methode3()
|
void methode3()
|
||||||
{
|
{
|
||||||
methode2();
|
methode2();
|
||||||
|
@ -866,7 +866,7 @@ class HideMethod {
|
||||||
public:
|
public:
|
||||||
HideMethod();
|
HideMethod();
|
||||||
virtual ~HideMethod();
|
virtual ~HideMethod();
|
||||||
void //$methode2$//();
|
void /*$*/methode2/*$$*/();
|
||||||
void methode3();
|
void methode3();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -940,7 +940,7 @@ class HideMethod {
|
||||||
public:
|
public:
|
||||||
HideMethod();
|
HideMethod();
|
||||||
virtual ~HideMethod();
|
virtual ~HideMethod();
|
||||||
void //$methode2$//();
|
void /*$*/methode2/*$$*/();
|
||||||
void methode3();
|
void methode3();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -990,7 +990,7 @@ class HideMethod {
|
||||||
public:
|
public:
|
||||||
HideMethod();
|
HideMethod();
|
||||||
virtual ~HideMethod();
|
virtual ~HideMethod();
|
||||||
void //$methode2$//();
|
void /*$*/methode2/*$$*/();
|
||||||
void methode3();
|
void methode3();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1106,7 +1106,7 @@ HideMethod::~HideMethod() {
|
||||||
// TODO Auto-generated destructor stub
|
// TODO Auto-generated destructor stub
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideMethod:://$methode2$//() {
|
void HideMethod::/*$*/methode2/*$$*/() {
|
||||||
//do nothing
|
//do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1147,7 +1147,7 @@ filename=A.h
|
||||||
|
|
||||||
class A{
|
class A{
|
||||||
public:
|
public:
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -1178,7 +1178,7 @@ errors=1
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
class A{
|
class A{
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -1206,7 +1206,7 @@ filename=A.h
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
struct A{
|
struct A{
|
||||||
//$void method2();$//
|
/*$*/void method2();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -1237,7 +1237,7 @@ struct other
|
||||||
class Klass
|
class Klass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void //$set$//(bool b){}
|
void /*$*/set/*$$*/(bool b){}
|
||||||
void test()
|
void test()
|
||||||
{
|
{
|
||||||
other o;
|
other o;
|
||||||
|
@ -1283,7 +1283,7 @@ public:
|
||||||
void test()
|
void test()
|
||||||
{
|
{
|
||||||
other o;
|
other o;
|
||||||
this->//$set$//(o.value());
|
this->/*$*/set/*$$*/(o.value());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1316,7 +1316,7 @@ warnings=1
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
struct other
|
struct other
|
||||||
{
|
{
|
||||||
bool //$value$//() {return true;}
|
bool /*$*/value/*$$*/() {return true;}
|
||||||
};
|
};
|
||||||
|
|
||||||
class Klass
|
class Klass
|
||||||
|
@ -1362,7 +1362,7 @@ class Klass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void set(bool b){}
|
void set(bool b){}
|
||||||
void //$test$//()
|
void /*$*/test/*$$*/()
|
||||||
{
|
{
|
||||||
other o;
|
other o;
|
||||||
this->set(o.value());
|
this->set(o.value());
|
||||||
|
@ -1394,7 +1394,7 @@ private:
|
||||||
filename=A.cpp
|
filename=A.cpp
|
||||||
fatalerrors=1
|
fatalerrors=1
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
int //$main$//(){
|
int /*$*/main/*$$*/(){
|
||||||
int i = 2;
|
int i = 2;
|
||||||
i++;
|
i++;
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -1415,7 +1415,7 @@ filename=A.h
|
||||||
class Klass
|
class Klass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void //$to_move()$//;
|
void /*$*/to_move()/*$$*/;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void just_private();
|
void just_private();
|
||||||
|
@ -1438,7 +1438,7 @@ filename=A.h
|
||||||
class Klass
|
class Klass
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void //$to_move()$//;
|
void /*$*/to_move()/*$$*/;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void just_private();
|
void just_private();
|
||||||
|
|
|
@ -5,7 +5,7 @@ filename=A.h
|
||||||
//@A.h
|
//@A.h
|
||||||
class X {
|
class X {
|
||||||
public:
|
public:
|
||||||
bool //$a(int = 100)$// const;
|
bool /*$*/a(int = 100)/*$$*/ const;
|
||||||
};
|
};
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -27,7 +27,7 @@ filename=A.h
|
||||||
//@A.h
|
//@A.h
|
||||||
class X {
|
class X {
|
||||||
public:
|
public:
|
||||||
bool //$xy(int, int i)$// const;
|
bool /*$*/xy(int, int i)/*$$*/ const;
|
||||||
};
|
};
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -50,7 +50,7 @@ filename=A.h
|
||||||
template<class T> class A
|
template<class T> class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -81,7 +81,7 @@ initialWarnings=1
|
||||||
|
|
||||||
struct Test
|
struct Test
|
||||||
{
|
{
|
||||||
void //$bla$//() {}
|
void /*$*/bla/*$$*/() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
//!Test Warning when ClassName selected
|
//!Test Warning when ClassName selected
|
||||||
|
@ -91,7 +91,7 @@ filename=A.h
|
||||||
initialWarnings=1
|
initialWarnings=1
|
||||||
//@A.h
|
//@A.h
|
||||||
|
|
||||||
struct //$Test$//
|
struct /*$*/Test/*$$*/
|
||||||
{
|
{
|
||||||
void bla2();
|
void bla2();
|
||||||
};
|
};
|
||||||
|
@ -105,7 +105,7 @@ template<class T> class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class T> A<T>::A()
|
template<class T> A<T>::A()
|
||||||
|
@ -140,7 +140,7 @@ class Demo
|
||||||
{
|
{
|
||||||
class SubClass
|
class SubClass
|
||||||
{
|
{
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ filename=A.h
|
||||||
class A
|
class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -189,7 +189,7 @@ filename=A.h
|
||||||
class A
|
class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
//=
|
//=
|
||||||
|
@ -220,7 +220,7 @@ namespace NameSpace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
int test();
|
int test();
|
||||||
//$void test2();$//
|
/*$*/void test2();/*$$*/
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$virtual void foo();$//
|
/*$*/virtual void foo();/*$$*/
|
||||||
~A();
|
~A();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ A::~A()
|
||||||
//@.config
|
//@.config
|
||||||
filename=A.h
|
filename=A.h
|
||||||
//@A.h
|
//@A.h
|
||||||
//$void function();$//
|
/*$*/void function();/*$$*/
|
||||||
void function_with_impl();
|
void function_with_impl();
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
void function_with_impl()
|
void function_with_impl()
|
||||||
|
@ -322,7 +322,7 @@ class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void foo();$//
|
/*$*/void foo();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -357,7 +357,7 @@ filename=A.h
|
||||||
class A
|
class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void foo() const;$//
|
/*$*/void foo() const;/*$$*/
|
||||||
A();
|
A();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -392,7 +392,7 @@ class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$int foo();$//
|
/*$*/int foo();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -428,7 +428,7 @@ class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$int foo(int param1, int param2);$//
|
/*$*/int foo(int param1, int param2);/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /*A_H_*/
|
#endif /*A_H_*/
|
||||||
|
@ -461,7 +461,7 @@ class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
A::A()
|
A::A()
|
||||||
|
@ -492,7 +492,7 @@ inline void A::test()
|
||||||
filename=A.h
|
filename=A.h
|
||||||
//@A.h
|
//@A.h
|
||||||
void function_with_impl();
|
void function_with_impl();
|
||||||
//$void function();$//
|
/*$*/void function();/*$$*/
|
||||||
//@A.cpp
|
//@A.cpp
|
||||||
void function_with_impl()
|
void function_with_impl()
|
||||||
{
|
{
|
||||||
|
@ -518,7 +518,7 @@ namespace NameSpace
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
int other_test();
|
int other_test();
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -547,7 +547,7 @@ namespace OuterSpace {
|
||||||
namespace NameSpace
|
namespace NameSpace
|
||||||
{
|
{
|
||||||
int test();
|
int test();
|
||||||
//$int test2();$//
|
/*$*/int test2();/*$$*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ namespace OuterSpace {
|
||||||
namespace NameSpace
|
namespace NameSpace
|
||||||
{
|
{
|
||||||
int test();
|
int test();
|
||||||
//$int test2();$//
|
/*$*/int test2();/*$$*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -613,7 +613,7 @@ template<class T, class U> class A
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
A();
|
A();
|
||||||
//$void test();$//
|
/*$*/void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class T, class U> A<T,U>::A()
|
template<class T, class U> A<T,U>::A()
|
||||||
|
@ -647,7 +647,7 @@ filename=A.h
|
||||||
class Class
|
class Class
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void test(int param1, int param2 = 5, int param3 = 10);$//
|
/*$*/void test(int param1, int param2 = 5, int param3 = 10);/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -672,7 +672,7 @@ filename=A.h
|
||||||
class Class
|
class Class
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$static void test();$//
|
/*$*/static void test();/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -696,7 +696,7 @@ filename=A.h
|
||||||
|
|
||||||
class TestClass {
|
class TestClass {
|
||||||
public:
|
public:
|
||||||
//$int* get(char* val);$//
|
/*$*/int* get(char* val);/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -721,7 +721,7 @@ filename=A.h
|
||||||
class Test
|
class Test
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//$void doNothing(void);$//
|
/*$*/void doNothing(void);/*$$*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ public class TestSourceFile {
|
||||||
private int selectionStart = -1;
|
private int selectionStart = -1;
|
||||||
private int selectionEnd = -1;
|
private int selectionEnd = -1;
|
||||||
|
|
||||||
protected static final String selectionStartRegex = "//\\$"; //$NON-NLS-1$
|
protected static final String selectionStartRegex = "/\\*\\$\\*/"; //$NON-NLS-1$
|
||||||
protected static final String selectionEndRegex = "\\$//"; //$NON-NLS-1$
|
protected static final String selectionEndRegex = "/\\*\\$\\$\\*/"; //$NON-NLS-1$
|
||||||
protected static final String selectionStartLineRegex = "(.*)(" + selectionStartRegex + ")(.*)"; //$NON-NLS-1$ //$NON-NLS-2$
|
protected static final String selectionStartLineRegex = "(.*)(" + selectionStartRegex + ")(.*)"; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
protected static final String selectionEndLineRegex = "(.*)("+ selectionEndRegex + ")(.*)"; //$NON-NLS-1$ //$NON-NLS-2$
|
protected static final String selectionEndLineRegex = "(.*)("+ selectionEndRegex + ")(.*)"; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue