MCPcopy
hub / github.com/Tampermonkey/tampermonkey / optional_identifier

Function optional_identifier

src/jslint.js:2861–2871  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2859
2860
2861 function optional_identifier() {
2862 if (next_token.identifier) {
2863 advance();
2864 if (option.safe && banned[token.string]) {
2865 warn('adsafe_a', token);
2866 } else if (token.reserved && !option.es5) {
2867 warn('expected_identifier_a_reserved', token);
2868 }
2869 return token.string;
2870 }
2871 }
2872
2873
2874 function identifier() {

Callers 3

identifierFunction · 0.85
property_nameFunction · 0.85
jslint.jsFile · 0.85

Calls 2

advanceFunction · 0.85
warnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…