323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
|
return oToken.hasOwnProperty("aTags") && oToken["aTags"].has(sTag);
}
function g_meta (oToken, sType) {
return oToken["sType"] == sType;
}
function g_space_between_tokens (oToken1, oToken2, nMin, nMax=null) {
let nSpace = oToken2["nStart"] - oToken1["nEnd"]
if (nSpace < nMin) {
return false;
}
if (nMax !== null && nSpace > nMax) {
return false;
}
|
|
|
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
|
return oToken.hasOwnProperty("aTags") && oToken["aTags"].has(sTag);
}
function g_meta (oToken, sType) {
return oToken["sType"] == sType;
}
function g_space (oToken1, oToken2, nMin, nMax=null) {
let nSpace = oToken2["nStart"] - oToken1["nEnd"]
if (nSpace < nMin) {
return false;
}
if (nMax !== null && nSpace > nMax) {
return false;
}
|