UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

2 lines 1.09 kB
import{n as e}from"./rolldown-runtime-DkW27tQK.js";function t(e){if(e.eatSpace())return null;var t=e.sol(),n=e.next();if(n===`\\`)return e.match(`fB`)||e.match(`fR`)||e.match(`fI`)||e.match(`u`)||e.match(`d`)||e.match(`%`)||e.match(`&`)?`string`:e.match(`m[`)?(e.skipTo(`]`),e.next(),`string`):e.match(`s+`)||e.match(`s-`)?(e.eatWhile(/[\d-]/),`string`):((e.match(`(`)||e.match(`*(`))&&e.eatWhile(/[\w-]/),`string`);if(t&&(n===`.`||n===`'`)&&e.eat(`\\`)&&e.eat(`"`))return e.skipToEnd(),`comment`;if(t&&n===`.`){if(e.match(`B `)||e.match(`I `)||e.match(`R `))return`attribute`;if(e.match(`TH `)||e.match(`SH `)||e.match(`SS `)||e.match(`HP `))return e.skipToEnd(),`quote`;if(e.match(/[A-Z]/)&&e.match(/[A-Z]/)||e.match(/[a-z]/)&&e.match(/[a-z]/))return`attribute`}e.eatWhile(/[\w-]/);var i=e.current();return r.hasOwnProperty(i)?r[i]:null}function n(e,n){return(n.tokens[0]||t)(e,n)}var r,i;function a(){return(a=e((()=>{r={},i={name:`troff`,startState:function(){return{tokens:[]}},token:function(e,t){return n(e,t)}}})))()}a();export{i as troff}; //# sourceMappingURL=troff-cwvmpOmD.js.map