bool isValid(const InterpolationEnvironment&, const InterpolationValue& underlying) const final { return m_pathSegTypes == getPathSegTypes(underlying); }
static std::unique_ptr<UnderlyingPathSegTypesChecker> create( const InterpolationValue& underlying) { return WTF::wrapUnique( new UnderlyingPathSegTypesChecker(getPathSegTypes(underlying))); }
static PassOwnPtr<UnderlyingPathSegTypesChecker> create(const InterpolationType& type, const UnderlyingValue& underlyingValue) { return adoptPtr(new UnderlyingPathSegTypesChecker(type, getPathSegTypes(underlyingValue))); }