Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Linen-dev/linen.dev
/ flush
Function
flush
packages/ast/parse/linen/tokenize/index.js:16–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
let
value =
''
;
15
16
function
flush() {
17
if
(value) {
18
tokens.push({
type
, value });
19
value =
''
;
20
}
21
}
22
23
while
(index < length) {
24
const
current = input[index];
Callers
2
serialize
Function · 0.70
tokenize
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected