MCPcopy
hub / github.com/hashicorp/hcl / NewChild

Method NewChild

eval_context.go:20–22  ·  eval_context.go::EvalContext.NewChild

NewChild returns a new EvalContext that is a child of the receiver.

()

Source from the content-addressed store, hash-verified

18
19// NewChild returns a new EvalContext that is a child of the receiver.
20func (ctx *EvalContext) NewChild() *EvalContext {
21 return &EvalContext{parent: ctx}
22}
23
24// Parent returns the parent of the receiver, or nil if the receiver has
25// no parent.

Callers 7

ValueMethod · 0.80
ValueMethod · 0.80
decodeUserFunctionsFunction · 0.80
EvalContextMethod · 0.80
TestHCLDecDecodeToExprFunction · 0.80
decodeMethod · 0.80
impliedTypeMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestHCLDecDecodeToExprFunction · 0.64