package com.vladsch.flexmark.ast;

import com.vladsch.flexmark.util.sequence.BasedSequence;

public interface ReferencingNode<R extends NodeRepository<B>, B extends ReferenceNode> {
    boolean isDefined();
    BasedSequence getReference();
    B getReferenceNode(Document document);
    B getReferenceNode(R repository);
}
