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

Function parseBlock

jsonpath.js:2643–2654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2641 }
2642
2643 function parseBlock() {
2644 var block, startToken;
2645
2646 startToken = lookahead;
2647 expect('{');
2648
2649 block = parseStatementList();
2650
2651 expect('}');
2652
2653 return delegate.markEnd(delegate.createBlockStatement(block), startToken);
2654 }
2655
2656 // 12.2 Variable Statement
2657

Callers 3

parseCatchClauseFunction · 0.85
parseTryStatementFunction · 0.85
parseStatementFunction · 0.85

Calls 2

expectFunction · 0.85
parseStatementListFunction · 0.85

Tested by

no test coverage detected