MCPcopy Create free account
hub / github.com/dchester/jsonpath / match

Function match

jsonpath.js:1932–1934  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1930 // Return true if the next token matches the specified punctuator.
1931
1932 function match(value) {
1933 return lookahead.type === Token.Punctuator && lookahead.value === value;
1934 }
1935
1936 // Return true if the next token matches the specified keyword
1937

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected