UNPKG

@siren-js/client

Version:
13 lines (12 loc) 360 B
/** * Default (no-op) implementation of a {@linkcode SirenElementVisitor}. Extend this * class to avoid needing to implement every `SirenElementVisitor` method. */ export class DefaultSirenElementVisitor { visitAction(_) { } visitEmbeddedEntity(_) { } visitEmbeddedLink(_) { } visitEntity(_) { } visitField(_) { } visitLink(_) { } }