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

Method as_const

tools/inspector_protocol/jinja2/nodes.py:570–572  ·  view source on GitHub ↗
(self, eval_ctx=None)

Source from the content-addressed store, hash-verified

568 fields = ('key', 'value')
569
570 def as_const(self, eval_ctx=None):
571 eval_ctx = get_eval_context(self, eval_ctx)
572 return self.key.as_const(eval_ctx), self.value.as_const(eval_ctx)
573
574
575class Keyword(Helper):

Callers

nothing calls this directly

Calls 2

get_eval_contextFunction · 0.70
as_constMethod · 0.45

Tested by

no test coverage detected