MCPcopy Create free account
hub / github.com/nodejs/node / parse_concat

Method parse_concat

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

Source from the content-addressed store, hash-verified

593 return left
594
595 def parse_concat(self) -> nodes.Expr:
596 lineno = self.stream.current.lineno
597 args = [self.parse_math2()]
598 while self.stream.current.type == "tilde":
599 next(self.stream)
600 args.append(self.parse_math2())
601 if len(args) == 1:
602 return args[0]
603 return nodes.Concat(args, lineno=lineno)
604
605 def parse_math2(self) -> nodes.Expr:
606 lineno = self.stream.current.lineno

Callers 1

parse_math1Method · 0.95

Calls 3

parse_math2Method · 0.95
nextFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected