Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 3 | 3 | 0.987 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 7337 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
2 | 14 | 7379 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
3 | 14 | 9412 | src/NHibernate/Hql/Ast/ANTLR/Generated/HqlParser.cs |
| ||||
// 492:31: -> ^( UNARY_MINUS[$m] $mu) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:492:34: ^( UNARY_MINUS[$m] $mu) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot((IASTNode)adaptor.Create(UNARY_MINUS, m), root_1); adaptor.AddChild(root_1, stream_mu.NextTree()); adaptor.AddChild(root_0, root_1); } } retval.Tree = root_0; retval.Tree = root_0; |
| ||||
// 493:30: -> ^( UNARY_PLUS[$p] $pu) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:493:33: ^( UNARY_PLUS[$p] $pu) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot((IASTNode)adaptor.Create(UNARY_PLUS, p), root_1); adaptor.AddChild(root_1, stream_pu.NextTree()); adaptor.AddChild(root_0, root_1); } } retval.Tree = root_0; retval.Tree = root_0; |
| ||||
// 577:3: -> ^( AGGREGATE[$op] additiveExpression ) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:577:6: ^( AGGREGATE[$op] additiveExpression ) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot((IASTNode)adaptor.Create(AGGREGATE, op), root_1); adaptor.AddChild(root_1, stream_additiveExpression.NextTree()); adaptor.AddChild(root_0, root_1); } } retval.Tree = root_0; retval.Tree = root_0; |
| |||
// 492:31: -> ^( UNARY_MINUS[$m] $mu) // 577:3: -> ^( AGGREGATE[$op] additiveExpression ) // 493:30: -> ^( UNARY_PLUS[$p] $pu) { // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:492:34: ^( UNARY_MINUS[$m] $mu) // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:577:6: ^( AGGREGATE[$op] additiveExpression ) // /Users/Steve/Projects/NHibernate/Branches/2.1.x/nhibernate/src/NHibernate/Hql/Ast/ANTLR/Hql.g:493:33: ^( UNARY_PLUS[$p] $pu) { IASTNode root_1 = (IASTNode)adaptor.GetNilNode(); root_1 = (IASTNode)adaptor.BecomeRoot((IASTNode)adaptor.Create( [[#variable5f24bde0]], [[#variable4fcebf20]]), root_1); adaptor.AddChild(root_1, [[#variable54378ca0]].NextTree()); adaptor.AddChild(root_0, root_1); } } retval.Tree = root_0; retval.Tree = root_0; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f24bde0]] | UNARY_MINUS |
1 | 2 | [[#5f24bde0]] | AGGREGATE |
1 | 3 | [[#5f24bde0]] | UNARY_PLUS |
2 | 1 | [[#4fcebf20]] | m |
2 | 2 | [[#4fcebf20]] | op |
2 | 3 | [[#4fcebf20]] | p |
3 | 1 | [[#54378ca0]] | stream_mu |
3 | 2 | [[#54378ca0]] | stream_additiveExpression |
3 | 3 | [[#54378ca0]] | stream_pu |