CloneSet346


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14550.957non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114653
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs
2141654
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs
3141683
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs
4141708
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs
5141733
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs
Clone Instance
1
Line Count
14
Source Line
653
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs

                switch (alt3)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:58:98: w= whereClause
                        {
                                _last = (IASTNode)input.LT(1);
                                PushFollow(FOLLOW_whereClause_in_updateStatement237);
                                w = whereClause();
                                state.followingStackPointer--;

                                stream_whereClause.Add(w.Tree);
                        }

                        break;
                }


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

                switch (alt9)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:130:6: s= selectClause
                        {
                                _last = (IASTNode)input.LT(1);
                                PushFollow(FOLLOW_selectClause_in_unionedQuery532);
                                s = selectClause();
                                state.followingStackPointer--;

                                stream_selectClause.Add(s.Tree);
                        }

                        break;
                }


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

                switch (alt10)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:132:5: w= whereClause
                        {
                                _last = (IASTNode)input.LT(1);
                                PushFollow(FOLLOW_whereClause_in_unionedQuery547);
                                w = whereClause();
                                state.followingStackPointer--;

                                stream_whereClause.Add(w.Tree);
                        }

                        break;
                }


Clone Instance
4
Line Count
14
Source Line
1708
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs

                switch (alt11)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:133:5: g= groupClause
                        {
                                _last = (IASTNode)input.LT(1);
                                PushFollow(FOLLOW_groupClause_in_unionedQuery557);
                                g = groupClause();
                                state.followingStackPointer--;

                                stream_groupClause.Add(g.Tree);
                        }

                        break;
                }


Clone Instance
5
Line Count
14
Source Line
1733
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlSqlWalker.cs

                switch (alt12)
                {
                    case 1:
                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:134:5: o= orderClause
                        {
                                _last = (IASTNode)input.LT(1);
                                PushFollow(FOLLOW_orderClause_in_unionedQuery567);
                                o = orderClause();
                                state.followingStackPointer--;

                                stream_orderClause.Add(o.Tree);
                        }

                        break;
                }


Clone AbstractionParameter Count: 5Parameter Bindings

switch ( [[#variable2d1565c0]])
{
   case 1:
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:58:98: w= whereClause
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:130:6: s= selectClause
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:132:5: w= whereClause
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:133:5: g= groupClause
      // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.g:134:5: o= orderClause
      {
         _last = (IASTNode)input.LT(1);
         PushFollow( [[#variable2d156500]]);
          [[#variable2d156480]]= [[#variable2d156420]]();
         state.followingStackPointer--;
          [[#variable2d1563c0]].Add( [[#variable2d156480]].Tree);
      }
      break;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d1565c0]]
alt3 
12[[#2d1565c0]]
alt9 
13[[#2d1565c0]]
alt10 
14[[#2d1565c0]]
alt11 
15[[#2d1565c0]]
alt12 
21[[#2d156500]]
FOLLOW_whereClause_in_updateStatement237 
22[[#2d156500]]
FOLLOW_selectClause_in_unionedQuery532 
23[[#2d156500]]
FOLLOW_whereClause_in_unionedQuery547 
24[[#2d156500]]
FOLLOW_groupClause_in_unionedQuery557 
25[[#2d156500]]
FOLLOW_orderClause_in_unionedQuery567 
31[[#2d156480]]
w 
32[[#2d156480]]
s 
33[[#2d156480]]
w 
34[[#2d156480]]
g 
35[[#2d156480]]
o 
41[[#2d156420]]
whereClause 
42[[#2d156420]]
selectClause 
43[[#2d156420]]
whereClause 
44[[#2d156420]]
groupClause 
45[[#2d156420]]
orderClause 
51[[#2d1563c0]]
stream_whereClause 
52[[#2d1563c0]]
stream_selectClause 
53[[#2d1563c0]]
stream_whereClause 
54[[#2d1563c0]]
stream_groupClause 
55[[#2d1563c0]]
stream_orderClause