CloneSet218


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28450.961non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1282593
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
2282645
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
3282750
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
4282802
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
Clone Instance
1
Line Count
28
Source Line
2593
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:36: ( tableJoin[ a ] )*
                            do
                            {
                                int alt34 = 2;
                                int LA34_0 = input.LA(1);

                                if ( (LA34_0 == FROM_FRAGMENT || LA34_0 == JOIN_FRAGMENT))
                                {
                                    alt34 = 1;
                                }


                                switch (alt34)
                                {
                                        case 1:
                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:37: tableJoin[ a ]
                                            {
                                                PushFollow(FOLLOW_tableJoin_in_fromTable843);
                                                tableJoin(a);
                                                state.followingStackPointer--;
                                                if (state.failed) return;
                                            }

                                            break;

                                        default:
                                            goto loop34;
                                }
                            } while (true);


Clone Instance
2
Line Count
28
Source Line
2645
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:36: ( tableJoin[ a ] )*
                            do
                            {
                                int alt35 = 2;
                                int LA35_0 = input.LA(1);

                                if ( (LA35_0 == FROM_FRAGMENT || LA35_0 == JOIN_FRAGMENT))
                                {
                                    alt35 = 1;
                                }


                                switch (alt35)
                                {
                                        case 1:
                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:37: tableJoin[ a ]
                                            {
                                                PushFollow(FOLLOW_tableJoin_in_fromTable864);
                                                tableJoin(a);
                                                state.followingStackPointer--;
                                                if (state.failed) return;
                                            }

                                            break;

                                        default:
                                            goto loop35;
                                }
                            } while (true);


Clone Instance
3
Line Count
28
Source Line
2750
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:46: ( tableJoin[ c ] )*
                            do
                            {
                                int alt37 = 2;
                                int LA37_0 = input.LA(1);

                                if ( (LA37_0 == FROM_FRAGMENT || LA37_0 == JOIN_FRAGMENT))
                                {
                                    alt37 = 1;
                                }


                                switch (alt37)
                                {
                                        case 1:
                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:47: tableJoin[ c ]
                                            {
                                                PushFollow(FOLLOW_tableJoin_in_tableJoin892);
                                                tableJoin(c);
                                                state.followingStackPointer--;
                                                if (state.failed) return;
                                            }

                                            break;

                                        default:
                                            goto loop37;
                                }
                            } while (true);


Clone Instance
4
Line Count
28
Source Line
2802
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:58: ( tableJoin[ d ] )*
                            do
                            {
                                int alt38 = 2;
                                int LA38_0 = input.LA(1);

                                if ( (LA38_0 == FROM_FRAGMENT || LA38_0 == JOIN_FRAGMENT))
                                {
                                    alt38 = 1;
                                }


                                switch (alt38)
                                {
                                        case 1:
                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:59: tableJoin[ d ]
                                            {
                                                PushFollow(FOLLOW_tableJoin_in_tableJoin913);
                                                tableJoin(d);
                                                state.followingStackPointer--;
                                                if (state.failed) return;
                                            }

                                            break;

                                        default:
                                            goto loop38;
                                }
                            } while (true);


Clone AbstractionParameter Count: 5Parameter Bindings

// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:58: ( tableJoin[ d ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:46: ( tableJoin[ c ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:36: ( tableJoin[ a ] )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:36: ( tableJoin[ a ] )*
do
{
   int [[#variable70214320]]= 2;
   int [[#variable70214260]]= input.LA(1);
   if (( [[#variable70214260]]== FROM_FRAGMENT || [[#variable70214260]]== JOIN_FRAGMENT))
   {
       [[#variable70214320]]= 1;
   }
   switch ( [[#variable70214320]])
   {
      case 1:
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:188:59: tableJoin[ d ]
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:187:47: tableJoin[ c ]
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:183:37: tableJoin[ a ]
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:182:37: tableJoin[ a ]
         {
            PushFollow( [[#variable702141c0]]);
            tableJoin( [[#variable70214140]]);
            state.followingStackPointer--;
            if (state.failed)
               return;
         }
         break;
      default:
         goto [[#variable702140c0]];
   }
} while (true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70214320]]
alt38 
12[[#70214320]]
alt37 
13[[#70214320]]
alt35 
14[[#70214320]]
alt34 
21[[#70214260]]
LA38_0 
22[[#70214260]]
LA37_0 
23[[#70214260]]
LA35_0 
24[[#70214260]]
LA34_0 
31[[#702141c0]]
FOLLOW_tableJoin_in_tableJoin913 
32[[#702141c0]]
FOLLOW_tableJoin_in_tableJoin892 
33[[#702141c0]]
FOLLOW_tableJoin_in_fromTable864 
34[[#702141c0]]
FOLLOW_tableJoin_in_fromTable843 
41[[#70214140]]
d 
42[[#70214140]]
c 
43[[#70214140]]
a 
44[[#70214140]]
a 
51[[#702140c0]]
loop38 
52[[#702140c0]]
loop37 
53[[#702140c0]]
loop35 
54[[#702140c0]]
loop34