Added fb & WaldEnd hooks

This commit is contained in:
斟酌 鵬兄 2022-04-10 16:43:55 +09:00
parent 17fa02b3d8
commit 9d45743f06

View File

@ -46,6 +46,7 @@ module.exports = {
var ctx = { var ctx = {
"exitCurrentTag": exitCurrentTag "exitCurrentTag": exitCurrentTag
, "stack": tokenStack , "stack": tokenStack
, "fd": ( x ) => ( tokenStack.empty() ? _fd_strOut : tokenStack.curr().fd )( x )
}; };
for( let i = 0; i < l; i ++ ) for( let i = 0; i < l; i ++ )
@ -162,6 +163,8 @@ module.exports = {
} }
} }
_fineHandlers.WalkEnd && _fineHandlers.WalkEnd( ctx );
return strOut; return strOut;
} }
} }