MCPcopy Create free account
hub / github.com/browserify/static-module / isSyntaxCharacter

Function isSyntaxCharacter

bench/input.js:3868–3877  ·  view source on GitHub ↗
(ch)

Source from the content-addressed store, hash-verified

3866 return false
3867};
3868function isSyntaxCharacter(ch) {
3869 return (
3870 ch === 0x24 /* $ */ ||
3871 ch >= 0x28 /* ( */ && ch <= 0x2B /* + */ ||
3872 ch === 0x2E /* . */ ||
3873 ch === 0x3F /* ? */ ||
3874 ch >= 0x5B /* [ */ && ch <= 0x5E /* ^ */ ||
3875 ch >= 0x7B /* { */ && ch <= 0x7D /* } */
3876 )
3877}
3878
3879// https://www.ecma-international.org/ecma-262/8.0/#prod-PatternCharacter
3880// But eat eager.

Callers 1

input.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…