CloneSet511


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16440.970non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161108
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
2161165
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
3161314
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
4161517
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
Clone Instance
1
Line Count
16
Source Line
1108
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                switch (alt12)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:87:68: orderExprs
                        {
                                if ( (state.backtracking == 0))
                                {
                                  Out(", ");
                                }
                                PushFollow(FOLLOW_orderExprs_in_orderExprs371);
                                orderExprs();
                                state.followingStackPointer--;
                                if (state.failed) return;
                        }

                        break;
                }


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

                switch (alt13)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:92:11: groupExprs
                        {
                                if ( (state.backtracking == 0))
                                {
                                  Out(" , ");
                                }
                                PushFollow(FOLLOW_groupExprs_in_groupExprs392);
                                groupExprs();
                                state.followingStackPointer--;
                                if (state.failed) return;
                        }

                        break;
                }


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

                        switch (alt14)
                        {
                            case 1:
                                // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:105:5: thetaJoins
                                {
                                        if ( (state.backtracking == 0))
                                        {
                                           Out(" and ");
                                        }
                                        PushFollow(FOLLOW_thetaJoins_in_whereExpr435);
                                        thetaJoins();
                                        state.followingStackPointer--;
                                        if (state.failed) return;
                                }

                                break;
                        }


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

                switch (alt18)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:121:15: conditionList
                        {
                                if ( (state.backtracking == 0))
                                {
                                   Out(" and ");
                                }
                                PushFollow(FOLLOW_conditionList_in_conditionList525);
                                conditionList();
                                state.followingStackPointer--;
                                if (state.failed) return;
                        }

                        break;
                }


Clone AbstractionParameter Count: 4Parameter Bindings

switch ( [[#variable6e6a5800]])
{
   case 1:
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:87:68: orderExprs
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:92:11: groupExprs
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:105:5: thetaJoins
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:121:15: conditionList
      {
         if ((state.backtracking == 0))
         {
            Out( [[#variable6e6a5740]]);
         }
         PushFollow( [[#variable6e6a57a0]]);
          [[#variable6e6a5780]]();
         state.followingStackPointer--;
         if (state.failed)
            return;
      }
      break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e6a5800]]
alt12 
12[[#6e6a5800]]
alt13 
13[[#6e6a5800]]
alt14 
14[[#6e6a5800]]
alt18 
21[[#6e6a5740]]
", " 
22[[#6e6a5740]]
" , " 
23[[#6e6a5740]]
" and " 
24[[#6e6a5740]]
" and " 
31[[#6e6a57a0]]
FOLLOW_orderExprs_in_orderExprs371 
32[[#6e6a57a0]]
FOLLOW_groupExprs_in_groupExprs392 
33[[#6e6a57a0]]
FOLLOW_thetaJoins_in_whereExpr435 
34[[#6e6a57a0]]
FOLLOW_conditionList_in_conditionList525 
41[[#6e6a5780]]
orderExprs 
42[[#6e6a5780]]
groupExprs 
43[[#6e6a5780]]
thetaJoins 
44[[#6e6a5780]]
conditionList