Module Clones

Provides predicates for detecting pairs of identical AST subtrees.

Import path

Expressions.Clones

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

DuplicatePropertyInitDetector

A clone detector for finding structurally identical property initializers.

OperandComparedToSelf

A clone detector for finding comparisons where both operands are structurally identical.

SelfAssignment

A clone detector for finding assignments where both sides are structurally identical.

StructurallyCompared

A base class for doing structural comparisons of program elements.