CloneSet641


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28230.965statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1283009
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs
2283122
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs
Clone Instance
1
Line Count
28
Source Line
3009
Source File
src/NHibernate/Hql/Ast/ANTLR/Generated/HqlLexer.cs

                                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:16: ( '0' .. '9' )*
                                        do
                                        {
                                            int alt12 = 2;
                                            int LA12_0 = input.LA(1);

                                            if ( ((LA12_0 >= '0' && LA12_0 <= '9')))
                                            {
                                                alt12 = 1;
                                            }


                                            switch (alt12)
                                            {
                                                        case 1:
                                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:17: '0' .. '9'
                                                            {
                                                                MatchRange('0', '9'); if (state.failed) return;
                                                            }

                                                            break;

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

                                        loop12:
                                                ;       // Stops C# compiler whining that label 'loop12' has no statements


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

                                                        // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:12: ( '0' .. '9' )*
                                                        do
                                                        {
                                                            int alt14 = 2;
                                                            int LA14_0 = input.LA(1);

                                                            if ( ((LA14_0 >= '0' && LA14_0 <= '9')))
                                                            {
                                                                alt14 = 1;
                                                            }


                                                            switch (alt14)
                                                            {
                                                                        case 1:
                                                                            // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:13: '0' .. '9'
                                                                            {
                                                                                MatchRange('0', '9'); if (state.failed) return;
                                                                            }

                                                                            break;

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

                                                        loop14:
                                                                ;       // Stops C# compiler whining that label 'loop14' has no statements


Clone AbstractionParameter Count: 3Parameter Bindings

// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:16: ( '0' .. '9' )*
// /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:12: ( '0' .. '9' )*
do
{
   int [[#variable6ff8ed20]]= 2;
   int [[#variable6ffa9d20]]= input.LA(1);
   if ((( [[#variable6ffa9d20]]>= '0' && [[#variable6ffa9d20]]<= '9')))
   {
       [[#variable6ff8ed20]]= 1;
   }
   switch ( [[#variable6ff8ed20]])
   {
      case 1:
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:766:17: '0' .. '9'
         // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:772:13: '0' .. '9'
         {
            MatchRange('0', '9');
            if (state.failed)
               return;
         }
         break;
      default:
         goto [[#variable6ffa9d00]];
   }
} while (true);
 [[#variable6ffa9d00]]:
   ; // Stops C# compiler whining that label 'loop12' has no statements // Stops C# compiler whining that label 'loop14' has no statements
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6ff8ed20]]
alt12 
12[[#6ff8ed20]]
alt14 
21[[#6ffa9d20]]
LA12_0 
22[[#6ffa9d20]]
LA14_0 
31[[#6ffa9d00]]
loop12 
32[[#6ffa9d00]]
loop14