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

Method parse_concat

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

Source from the content-addressed store, hash-verified

503 return left
504
505 def parse_concat(self):
506 lineno = self.stream.current.lineno
507 args = [self.parse_math2()]
508 while self.stream.current.type == 'tilde':
509 next(self.stream)
510 args.append(self.parse_math2())
511 if len(args) == 1:
512 return args[0]
513 return nodes.Concat(args, lineno=lineno)
514
515 def parse_math2(self):
516 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