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

Method as_const

deps/v8/third_party/jinja2/nodes.py:661–665  ·  view source on GitHub ↗
(
        self, eval_ctx: t.Optional[EvalContext] = None
    )

Source from the content-addressed store, hash-verified

659 items: t.List["Pair"]
660
661 def as_const(
662 self, eval_ctx: t.Optional[EvalContext] = None
663 ) -> t.Dict[t.Any, t.Any]:
664 eval_ctx = get_eval_context(self, eval_ctx)
665 return dict(x.as_const(eval_ctx) for x in self.items)
666
667
668class Pair(Helper):

Callers

nothing calls this directly

Calls 2

get_eval_contextFunction · 0.70
as_constMethod · 0.45

Tested by

no test coverage detected