import { Traceable } from "." ; export default class CompoundPath implements Traceable { private constructor ( private paths ) { } static withPaths ( ... paths ) { return new CompoundPath ( paths ) ; } traceIn ( ctx ) { this . paths . forEach ( p => p . traceIn ( ctx ) ) ; } }