CloneSet967


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30230.976compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1301
src/NHibernate/Hql/Ast/ANTLR/Tree/IsNotNullLogicOperatorNode.cs
2241
src/NHibernate/Hql/Ast/ANTLR/Tree/IsNullLogicOperatorNode.cs
Clone Instance
1
Line Count
30
Source Line
1
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/IsNotNullLogicOperatorNode.cs

using System;
using Antlr.Runtime;

namespace NHibernate.Hql.Ast.ANTLR.Tree
{
        /// <summary>
        /// IsNotNullLogicOperatorNode implementation
        /// 
        /// Author: Steve Ebersole
        /// Ported by: Steve Strong
        /// </summary>
        [CLSCompliant(false)]
        public class IsNotNullLogicOperatorNode : AbstractNullnessCheckNode
        {
                public IsNotNullLogicOperatorNode(IToken token) : base(token)
                {
                }

                protected override int ExpansionConnectorType
                {
                        get { return HqlSqlWalker.OR;
                            }
                }

                protected override string ExpansionConnectorText
                {
                        get { return "OR";
                            }
                }

        }
}


Clone Instance
2
Line Count
24
Source Line
1
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/IsNullLogicOperatorNode.cs

using System;
using Antlr.Runtime;

namespace NHibernate.Hql.Ast.ANTLR.Tree
{
        /// <summary>
        /// Represents a 'is null' check.
        /// </summary>
        [CLSCompliant(false)]
        public class IsNullLogicOperatorNode : AbstractNullnessCheckNode
        {
                public IsNullLogicOperatorNode(IToken token) : base(token) {
                                                                           }

                protected override int ExpansionConnectorType
                {
                        get { return HqlSqlWalker.AND;
                            }
                }

                protected override string ExpansionConnectorText
                {
                        get { return "AND";
                            }
                }

        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

using System;
using Antlr.Runtime;
namespace NHibernate.Hql.Ast.ANTLR.Tree
{
   /// <summary>
   /// IsNotNullLogicOperatorNode implementation
   /// 
   /// Author: Steve Ebersole
   /// Ported by: Steve Strong
   /// Represents a 'is null' check.
   /// </summary>
   [CLSCompliant(false)]
   public class [[#variable55123ae0]]: AbstractNullnessCheckNode
   {
      public [[#variable55123ae0]](IToken token): base(token)
      {
      }

      protected override int ExpansionConnectorType
      {
         get
         {
            return HqlSqlWalker. [[#variable55123a40]];
         }
      }

      protected override string ExpansionConnectorText
      {
         get
         {
            return [[#variable551239c0]];
         }
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55123ae0]]
IsNotNullLogicOperatorNode 
12[[#55123ae0]]
IsNullLogicOperatorNode 
21[[#55123a40]]
OR 
22[[#55123a40]]
AND 
31[[#551239c0]]
"OR" 
32[[#551239c0]]
"AND"