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

Function NewImport

policy/parser.go:169–171  ·  view source on GitHub ↗

NewImport creates a new typename import node

(exprID int64)

Source from the content-addressed store, hash-verified

167
168// NewImport creates a new typename import node
169func NewImport(exprID int64) *Import {
170 return &Import{exprID: exprID}
171}
172
173// Import represents an imported type name which is aliased within CEL expressions.
174type Import struct {

Callers 1

parseImportMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected