Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidkingzyb/SCAST
/ is_id
Function
is_id
js/SCAST.js:64–66 ·
view source on GitHub ↗
(ch)
Source
from the content-addressed store, hash-verified
62
return
/[a-zA-Z$_]/i.test(ch);
63
}
64
function
is_id(ch) {
65
return
is_id_start(ch) ||
"0123456789"
.indexOf(ch) >= 0;
66
}
67
function
is_op_char(ch) {
68
return
"+-*/%=&|<>!^\\"
.indexOf(ch) >= 0;
// \ for 正则
69
}
Callers
5
parse_arg
Function · 0.70
parse_condition
Function · 0.70
until_next_kw
Function · 0.70
parse_new
Function · 0.70
parse_expression
Function · 0.70
Calls
1
is_id_start
Function · 0.70
Tested by
no test coverage detected