MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewImport

Function NewImport

policy/parser.go:151–153  ·  view source on GitHub ↗

NewImport creates a new typename import node

(exprID int64)

Source from the content-addressed store, hash-verified

149
150// NewImport creates a new typename import node
151func NewImport(exprID int64) *Import {
152 return &Import{exprID: exprID}
153}
154
155// Import represents an imported type name which is aliased within CEL expressions.
156type Import struct {

Callers 1

parseImportMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected