MCPcopy
hub / github.com/purpleidea/mgmt / ExprBool

Struct ExprBool

lang/ast/structs.go:7409–7416  ·  view source on GitHub ↗

ExprBool is a representation of a boolean.

Source from the content-addressed store, hash-verified

7407
7408// ExprBool is a representation of a boolean.
7409type ExprBool struct {
7410 interfaces.Textarea
7411
7412 data *interfaces.Data
7413 scope *interfaces.Scope // store for referencing this later
7414
7415 V bool
7416}
7417
7418// String returns a short representation of this expression.
7419func (obj *ExprBool) String() string { return "bool(" + strconv.FormatBool(obj.V) + ")" }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected