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

Method parse_math2

deps/v8/third_party/jinja2/parser.py:605–614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

603 return nodes.Concat(args, lineno=lineno)
604
605 def parse_math2(self) -> nodes.Expr:
606 lineno = self.stream.current.lineno
607 left = self.parse_pow()
608 while self.stream.current.type in ("mul", "div", "floordiv", "mod"):
609 cls = _math_nodes[self.stream.current.type]
610 next(self.stream)
611 right = self.parse_pow()
612 left = cls(left, right, lineno=lineno)
613 lineno = self.stream.current.lineno
614 return left
615
616 def parse_pow(self) -> nodes.Expr:
617 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