MCPcopy
hub / github.com/mobxjs/mobx / match

Function match

docs/assets/getting-started-assets/javascripts/JSXTransformer.js:5711–5713  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

5709 // Return true if the next token matches the specified punctuator.
5710
5711 function match(value) {
5712 return lookahead.type === Token.Punctuator && lookahead.value === value
5713 }
5714
5715 // Return true if the next token matches the specified keyword
5716

Callers 15

findAncestorFunction · 0.85
consumeSemicolonFunction · 0.85
parseArrayInitialiserFunction · 0.85
parseObjectPropertyFunction · 0.85
parseObjectInitialiserFunction · 0.85
parseGroupExpressionFunction · 0.85
parsePrimaryExpressionFunction · 0.85
parseArgumentsFunction · 0.85
parseNewExpressionFunction · 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…