MCPcopy
hub / github.com/mishoo/UglifyJS-old / is_token

Function is_token

lib/parse-js.js:274–276  ·  view source on GitHub ↗
(token, type, val)

Source from the content-addressed store, hash-verified

272};
273
274function is_token(token, type, val) {
275 return token.type == type && (val == null || token.value == val);
276};
277
278var EX_EOF = {};
279

Callers 2

isFunction · 0.85
parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected