MCPcopy Index your code
hub / github.com/reactjs/react-rails / match

Function match

lib/assets/javascripts/JSXTransformer.js:5209–5211  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

5207 // Return true if the next token matches the specified punctuator.
5208
5209 function match(value) {
5210 return lookahead.type === Token.Punctuator && lookahead.value === value;
5211 }
5212
5213 // Return true if the next token matches the specified keyword
5214

Callers 15

consumeSemicolonFunction · 0.85
parseArrayInitialiserFunction · 0.85
parseObjectPropertyFunction · 0.85
parseObjectInitialiserFunction · 0.85
parseGroupExpressionFunction · 0.85
parsePrimaryExpressionFunction · 0.85
parseArgumentsFunction · 0.85
parseNewExpressionFunction · 0.85
parsePostfixExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected