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

Function metaProperty

lib/web/jshint.js:22164–22177  ·  view source on GitHub ↗
(name, c)

Source from the content-addressed store, hash-verified

22162 }
22163
22164 function metaProperty(name, c) {
22165 if (checkPunctuator(state.tokens.next, ".")) {
22166 var left = state.tokens.curr.id;
22167 advance(".");
22168 var id = identifier();
22169 state.tokens.curr.isMetaProperty = true;
22170 if (name !== id) {
22171 error("E057", state.tokens.prev, left, id);
22172 } else {
22173 c();
22174 }
22175 return state.tokens.curr;
22176 }
22177 }
22178
22179 (function(x) {
22180 x.nud = function() {

Callers 1

jshint.jsFile · 0.85

Calls 5

checkPunctuatorFunction · 0.85
errorFunction · 0.85
advanceFunction · 0.70
identifierFunction · 0.70
cFunction · 0.70

Tested by

no test coverage detected