198 lines
4.1 KiB
JavaScript
198 lines
4.1 KiB
JavaScript
'use strict';
|
|
|
|
var Curry = require("./curry.js");
|
|
var Caml_option = require("./caml_option.js");
|
|
var Caml_splice_call = require("./caml_splice_call.js");
|
|
|
|
function charAt(arg1, obj) {
|
|
return obj.charAt(arg1);
|
|
}
|
|
|
|
function charCodeAt(arg1, obj) {
|
|
return obj.charCodeAt(arg1);
|
|
}
|
|
|
|
function codePointAt(arg1, obj) {
|
|
return obj.codePointAt(arg1);
|
|
}
|
|
|
|
function concat(arg1, obj) {
|
|
return obj.concat(arg1);
|
|
}
|
|
|
|
function concatMany(arg1, obj) {
|
|
return Caml_splice_call.spliceObjApply(obj, "concat", [arg1]);
|
|
}
|
|
|
|
function endsWith(arg1, obj) {
|
|
return obj.endsWith(arg1);
|
|
}
|
|
|
|
function endsWithFrom(arg1, arg2, obj) {
|
|
return obj.endsWith(arg1, arg2);
|
|
}
|
|
|
|
function includes(arg1, obj) {
|
|
return obj.includes(arg1);
|
|
}
|
|
|
|
function includesFrom(arg1, arg2, obj) {
|
|
return obj.includes(arg1, arg2);
|
|
}
|
|
|
|
function indexOf(arg1, obj) {
|
|
return obj.indexOf(arg1);
|
|
}
|
|
|
|
function indexOfFrom(arg1, arg2, obj) {
|
|
return obj.indexOf(arg1, arg2);
|
|
}
|
|
|
|
function lastIndexOf(arg1, obj) {
|
|
return obj.lastIndexOf(arg1);
|
|
}
|
|
|
|
function lastIndexOfFrom(arg1, arg2, obj) {
|
|
return obj.lastIndexOf(arg1, arg2);
|
|
}
|
|
|
|
function localeCompare(arg1, obj) {
|
|
return obj.localeCompare(arg1);
|
|
}
|
|
|
|
function match_(arg1, obj) {
|
|
return Caml_option.null_to_opt(obj.match(arg1));
|
|
}
|
|
|
|
function normalizeByForm(arg1, obj) {
|
|
return obj.normalize(arg1);
|
|
}
|
|
|
|
function repeat(arg1, obj) {
|
|
return obj.repeat(arg1);
|
|
}
|
|
|
|
function replace(arg1, arg2, obj) {
|
|
return obj.replace(arg1, arg2);
|
|
}
|
|
|
|
function replaceByRe(arg1, arg2, obj) {
|
|
return obj.replace(arg1, arg2);
|
|
}
|
|
|
|
function unsafeReplaceBy0(arg1, arg2, obj) {
|
|
return obj.replace(arg1, Curry.__3(arg2));
|
|
}
|
|
|
|
function unsafeReplaceBy1(arg1, arg2, obj) {
|
|
return obj.replace(arg1, Curry.__4(arg2));
|
|
}
|
|
|
|
function unsafeReplaceBy2(arg1, arg2, obj) {
|
|
return obj.replace(arg1, Curry.__5(arg2));
|
|
}
|
|
|
|
function unsafeReplaceBy3(arg1, arg2, obj) {
|
|
return obj.replace(arg1, Curry.__6(arg2));
|
|
}
|
|
|
|
function search(arg1, obj) {
|
|
return obj.search(arg1);
|
|
}
|
|
|
|
function slice(from, to_, obj) {
|
|
return obj.slice(from, to_);
|
|
}
|
|
|
|
function sliceToEnd(from, obj) {
|
|
return obj.slice(from);
|
|
}
|
|
|
|
function split(arg1, obj) {
|
|
return obj.split(arg1);
|
|
}
|
|
|
|
function splitAtMost(arg1, limit, obj) {
|
|
return obj.split(arg1, limit);
|
|
}
|
|
|
|
function splitByRe(arg1, obj) {
|
|
return obj.split(arg1);
|
|
}
|
|
|
|
function splitByReAtMost(arg1, limit, obj) {
|
|
return obj.split(arg1, limit);
|
|
}
|
|
|
|
function startsWith(arg1, obj) {
|
|
return obj.startsWith(arg1);
|
|
}
|
|
|
|
function startsWithFrom(arg1, arg2, obj) {
|
|
return obj.startsWith(arg1, arg2);
|
|
}
|
|
|
|
function substr(from, obj) {
|
|
return obj.substr(from);
|
|
}
|
|
|
|
function substrAtMost(from, length, obj) {
|
|
return obj.substr(from, length);
|
|
}
|
|
|
|
function substring(from, to_, obj) {
|
|
return obj.substring(from, to_);
|
|
}
|
|
|
|
function substringToEnd(from, obj) {
|
|
return obj.substring(from);
|
|
}
|
|
|
|
function anchor(arg1, obj) {
|
|
return obj.anchor(arg1);
|
|
}
|
|
|
|
function link(arg1, obj) {
|
|
return obj.link(arg1);
|
|
}
|
|
|
|
exports.charAt = charAt;
|
|
exports.charCodeAt = charCodeAt;
|
|
exports.codePointAt = codePointAt;
|
|
exports.concat = concat;
|
|
exports.concatMany = concatMany;
|
|
exports.endsWith = endsWith;
|
|
exports.endsWithFrom = endsWithFrom;
|
|
exports.includes = includes;
|
|
exports.includesFrom = includesFrom;
|
|
exports.indexOf = indexOf;
|
|
exports.indexOfFrom = indexOfFrom;
|
|
exports.lastIndexOf = lastIndexOf;
|
|
exports.lastIndexOfFrom = lastIndexOfFrom;
|
|
exports.localeCompare = localeCompare;
|
|
exports.match_ = match_;
|
|
exports.normalizeByForm = normalizeByForm;
|
|
exports.repeat = repeat;
|
|
exports.replace = replace;
|
|
exports.replaceByRe = replaceByRe;
|
|
exports.unsafeReplaceBy0 = unsafeReplaceBy0;
|
|
exports.unsafeReplaceBy1 = unsafeReplaceBy1;
|
|
exports.unsafeReplaceBy2 = unsafeReplaceBy2;
|
|
exports.unsafeReplaceBy3 = unsafeReplaceBy3;
|
|
exports.search = search;
|
|
exports.slice = slice;
|
|
exports.sliceToEnd = sliceToEnd;
|
|
exports.split = split;
|
|
exports.splitAtMost = splitAtMost;
|
|
exports.splitByRe = splitByRe;
|
|
exports.splitByReAtMost = splitByReAtMost;
|
|
exports.startsWith = startsWith;
|
|
exports.startsWithFrom = startsWithFrom;
|
|
exports.substr = substr;
|
|
exports.substrAtMost = substrAtMost;
|
|
exports.substring = substring;
|
|
exports.substringToEnd = substringToEnd;
|
|
exports.anchor = anchor;
|
|
exports.link = link;
|
|
/* No side effect */
|