/* Generated from Java with JSweet 2.3.7 - http://www.jsweet.org */
import { NodePathVisitorFactory } from '../factories/NodePathVisitorFactory';
import { TraverserDirection } from '../visitors/TraverserDirection';
/**
 * @author eric.wittmann@gmail.com
 * @class
 */
var NodePathUtil = /** @class */ (function () {
    function NodePathUtil() {
    }
    NodePathUtil.createNodePath = function (node) {
        var visitor = NodePathVisitorFactory.createNodePathVisitor(node.ownerDocument());
        VisitorUtil.visitTree(node, visitor, TraverserDirection.up);
        return visitor.getPath();
    };
    return NodePathUtil;
}());
export { NodePathUtil };
NodePathUtil["__class"] = "io.apicurio.datamodels.core.util.NodePathUtil";
import { VisitorUtil } from './VisitorUtil';
//# sourceMappingURL=NodePathUtil.js.map