Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sourcebot-dev/sourcebot
/ tokens.ts
File
tokens.ts
packages/queryLanguage/src/tokens.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ ExternalTokenizer, InputStream, Stack } from
"@lezer/lr"
;
2
import
{ negate, openParen, closeParen, word, or, Dialect_regex } from
"./parser.terms"
;
3
4
// Character codes
Callers
nothing calls this directly
Calls
8
isRegexQueryGroupingAt
Function · 0.85
hasBalancedParensAt
Function · 0.85
findMatchingOpenParenOffset
Function · 0.85
isInsideParenExpr
Function · 0.85
isWhitespace
Function · 0.85
isOrKeyword
Function · 0.85
startsWithPrefix
Function · 0.85
isAlphaNumUnderscore
Function · 0.85
Tested by
no test coverage detected