CloneSet811


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14340.969switch_section
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114888
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
2141343
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
3141380
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
Clone Instance
1
Line Count
14
Source Line
888
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                                case 1:
                                    // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:73:53: comparisonExpr[false]
                                    {
                                        if ( (state.backtracking == 0))
                                        {
                                           Out(", ");
                                        }
                                        PushFollow(FOLLOW_comparisonExpr_in_setClause292);
                                        comparisonExpr(false);
                                        state.followingStackPointer--;
                                        if (state.failed) return;
                                    }

                                    break;


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

                            case 1:
                                // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:106:5: booleanExpr[ true ]
                                {
                                        if ( (state.backtracking == 0))
                                        {
                                           Out(" and ");
                                        }
                                        PushFollow(FOLLOW_booleanExpr_in_whereExpr446);
                                        booleanExpr(true);
                                        state.followingStackPointer--;
                                        if (state.failed) return;
                                }

                                break;


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

                            case 1:
                                // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:108:5: booleanExpr[ true ]
                                {
                                        if ( (state.backtracking == 0))
                                        {
                                           Out(" and ");
                                        }
                                        PushFollow(FOLLOW_booleanExpr_in_whereExpr464);
                                        booleanExpr(true);
                                        state.followingStackPointer--;
                                        if (state.failed) return;
                                }

                                break;


Clone AbstractionParameter Count: 4Parameter Bindings

case 1:
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:73:53: comparisonExpr[false]
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:106:5: booleanExpr[ true ]
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:108:5: booleanExpr[ true ]
   {
      if ((state.backtracking == 0))
      {
         Out( [[#variable6de50e60]]);
      }
      PushFollow( [[#variable6de50920]]);
       [[#variable6de50f00]]( [[#variable6de50ea0]]);
      state.followingStackPointer--;
      if (state.failed)
         return;
   }
   break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6de50e60]]
", " 
12[[#6de50e60]]
" and " 
13[[#6de50e60]]
" and " 
21[[#6de50920]]
FOLLOW_comparisonExpr_in_setClause292 
22[[#6de50920]]
FOLLOW_booleanExpr_in_whereExpr446 
23[[#6de50920]]
FOLLOW_booleanExpr_in_whereExpr464 
31[[#6de50f00]]
comparisonExpr 
32[[#6de50f00]]
booleanExpr 
33[[#6de50f00]]
booleanExpr 
41[[#6de50ea0]]
false 
42[[#6de50ea0]]
true 
43[[#6de50ea0]]
true