| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 4 | 2 | 0.968 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 69 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromClause.cs |
| 2 | 3 | 74 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromClause.cs |
| 3 | 3 | 195 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromClause.cs |
| 4 | 3 | 204 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromClause.cs |
| ||||
public IList<IASTNode> GetExplicitFromElements()
{
return ASTUtil.CollectChildren(this, ExplicitFromPredicate);
}
|
| ||||
public IList<IASTNode> GetCollectionFetches()
{
return ASTUtil.CollectChildren(this, CollectionFetchPredicate);
}
|
| ||||
/// <summary>
/// Returns the list of from elements in order.
/// </summary>
/// <returns>The list of from elements (instances of FromElement).</returns>
public IList<IASTNode> GetFromElements()
{
return ASTUtil.CollectChildren(this, FromElementPredicate);
}
|
| ||||
/// <summary>
/// Returns the list of from elements that will be part of the result set.
/// </summary>
/// <returns>the list of from elements that will be part of the result set.</returns>
public IList<IASTNode> GetProjectionList()
{
return ASTUtil.CollectChildren(this, ProjectionListPredicate);
}
|
| |||
/// <summary>
/// Returns the list of from elements that will be part of the result set.
/// Returns the list of from elements in order.
/// </summary>
/// <returns>the list of from elements that will be part of the result set.</returns>
/// <returns>The list of from elements (instances of FromElement).</returns>
public IList<IASTNode> [[#variable28a9c240]]()
{
return ASTUtil.CollectChildren(this, [[#variable28a9c220]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#28a9c240]] | GetProjectionList |
| 1 | 2 | [[#28a9c240]] | GetFromElements |
| 1 | 3 | [[#28a9c240]] | GetCollectionFetches |
| 1 | 4 | [[#28a9c240]] | GetExplicitFromElements |
| 2 | 1 | [[#28a9c220]] | ProjectionListPredicate |
| 2 | 2 | [[#28a9c220]] | FromElementPredicate |
| 2 | 3 | [[#28a9c220]] | CollectionFetchPredicate |
| 2 | 4 | [[#28a9c220]] | ExplicitFromPredicate |