MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / checkPunctuator

Function checkPunctuator

lib/web/jshint.js:23951–23953  ·  view source on GitHub ↗

* Test whether a given token is a punctuator matching the specified value * @param {Token} token * @param {string} value * @returns {boolean}

(token, value)

Source from the content-addressed store, hash-verified

23949 * @returns {boolean}
23950 */
23951 function checkPunctuator(token, value) {
23952 return token.type === "(punctuator)" && token.value === value;
23953 }
23954
23955 // Check whether this function has been reached for a destructuring assign with undeclared values
23956 function destructuringAssignOrJsonValue() {

Callers 11

checkLeftSideAssignFunction · 0.85
identifierFunction · 0.85
parseFinalSemicolonFunction · 0.85
jshint.jsFile · 0.85
functionparamsFunction · 0.85
metaPropertyFunction · 0.85
nextInnerDEFunction · 0.85
assignmentPropertyFunction · 0.85
classbodyFunction · 0.85
lookupBlockTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected