CloneSet248


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18540.962switch_section
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1181948
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
2184248
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
3185024
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
4185042
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
5185097
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs
Clone Instance
1
Line Count
18
Source Line
1948
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/SqlGenerator.cs

                case 9:
                    // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:142:4: selectStatement
                    {
                        if ( (state.backtracking == 0))
                        {
                           Out("(");
                        }
                        PushFollow(FOLLOW_selectStatement_in_selectExpr663);
                        selectStatement();
                        state.followingStackPointer--;
                        if (state.failed) return retval;
                        if ( (state.backtracking == 0))
                        {
                           Out(")");
                        }
                    }

                    break;


Clone Instance
2
Line Count
18
Source Line
4248
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:257:4: selectStatement
                    {
                        if ( (state.backtracking == 0))
                        {
                           Out("(");
                        }
                        PushFollow(FOLLOW_selectStatement_in_parenSelect1441);
                        selectStatement();
                        state.followingStackPointer--;
                        if (state.failed) return;
                        if ( (state.backtracking == 0))
                        {
                           Out(")");
                        }
                    }

                    break;


Clone Instance
3
Line Count
18
Source Line
5024
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:315:4: ( additiveExpr )=> additiveExpr
                    {
                        if ( (state.backtracking == 0))
                        {
                           Out("(");
                        }
                        PushFollow(FOLLOW_additiveExpr_in_nestedExpr1757);
                        additiveExpr();
                        state.followingStackPointer--;
                        if (state.failed) return;
                        if ( (state.backtracking == 0))
                        {
                           Out(")");
                        }
                    }

                    break;


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

                case 2:
                    // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:316:4: ( bitwiseExpr )=> bitwiseExpr
                    {
                        if ( (state.backtracking == 0))
                        {
                           Out("(");
                        }
                        PushFollow(FOLLOW_bitwiseExpr_in_nestedExpr1772);
                        bitwiseExpr();
                        state.followingStackPointer--;
                        if (state.failed) return;
                        if ( (state.backtracking == 0))
                        {
                           Out(")");
                        }
                    }

                    break;


Clone Instance
5
Line Count
18
Source Line
5097
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:322:4: ( arithmeticExpr )=> arithmeticExpr
                    {
                        if ( (state.backtracking == 0))
                        {
                           Out("(");
                        }
                        PushFollow(FOLLOW_arithmeticExpr_in_nestedExprAfterMinusDiv1801);
                        arithmeticExpr();
                        state.followingStackPointer--;
                        if (state.failed) return;
                        if ( (state.backtracking == 0))
                        {
                           Out(")");
                        }
                    }

                    break;


Clone AbstractionParameter Count: 4Parameter Bindings

case [[#variable6f4ba280]]:
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:322:4: ( arithmeticExpr )=> arithmeticExpr
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:316:4: ( bitwiseExpr )=> bitwiseExpr
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:142:4: selectStatement
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:315:4: ( additiveExpr )=> additiveExpr
   // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/SqlGenerator.g:257:4: selectStatement
   {
      if ((state.backtracking == 0))
      {
         Out("(");
      }
      PushFollow( [[#variable70625d60]]);
       [[#variable6f4ba340]]();
      state.followingStackPointer--;
      if (state.failed)
          [[#variable6f4ba320]]
      if ((state.backtracking == 0))
      {
         Out(")");
      }
   }
   break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f4ba280]]
1 
12[[#6f4ba280]]
2 
13[[#6f4ba280]]
9 
14[[#6f4ba280]]
1 
15[[#6f4ba280]]
1 
21[[#70625d60]]
FOLLOW_arithmeticExpr_in_nestedExprAfterMinusDiv1801 
22[[#70625d60]]
FOLLOW_bitwiseExpr_in_nestedExpr1772 
23[[#70625d60]]
FOLLOW_selectStatement_in_selectExpr663 
24[[#70625d60]]
FOLLOW_additiveExpr_in_nestedExpr1757 
25[[#70625d60]]
FOLLOW_selectStatement_in_parenSelect1441 
31[[#6f4ba340]]
arithmeticExpr 
32[[#6f4ba340]]
bitwiseExpr 
33[[#6f4ba340]]
selectStatement 
34[[#6f4ba340]]
additiveExpr 
35[[#6f4ba340]]
selectStatement 
41[[#6f4ba320]]
return; 
42[[#6f4ba320]]
return; 
43[[#6f4ba320]]
return retval; 
44[[#6f4ba320]]
return; 
45[[#6f4ba320]]
return;