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

Method parse_math2

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

Source from the content-addressed store, hash-verified

513 return nodes.Concat(args, lineno=lineno)
514
515 def parse_math2(self):
516 lineno = self.stream.current.lineno
517 left = self.parse_pow()
518 while self.stream.current.type in ('mul', 'div', 'floordiv', 'mod'):
519 cls = _math_nodes[self.stream.current.type]
520 next(self.stream)
521 right = self.parse_pow()
522 left = cls(left, right, lineno=lineno)
523 lineno = self.stream.current.lineno
524 return left
525
526 def parse_pow(self):
527 lineno = self.stream.current.lineno

Callers 1

parse_concatMethod · 0.95

Calls 2

parse_powMethod · 0.95
nextFunction · 0.50

Tested by

no test coverage detected