MCPcopy Index your code
hub / github.com/nodejs/node / parse_math1

Method parse_math1

tools/inspector_protocol/jinja2/parser.py:494–503  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

492 return nodes.Compare(expr, ops, lineno=lineno)
493
494 def parse_math1(self):
495 lineno = self.stream.current.lineno
496 left = self.parse_concat()
497 while self.stream.current.type in ('add', 'sub'):
498 cls = _math_nodes[self.stream.current.type]
499 next(self.stream)
500 right = self.parse_concat()
501 left = cls(left, right, lineno=lineno)
502 lineno = self.stream.current.lineno
503 return left
504
505 def parse_concat(self):
506 lineno = self.stream.current.lineno

Callers 1

parse_compareMethod · 0.95

Calls 2

parse_concatMethod · 0.95
nextFunction · 0.50

Tested by

no test coverage detected