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

Method Semantic

policy/parser.go:62–67  ·  view source on GitHub ↗

Semantic returns the evaluation semantic for the policy.

()

Source from the content-addressed store, hash-verified

60
61// Semantic returns the evaluation semantic for the policy.
62func (p *Policy) Semantic() SemanticType {
63 if p.semantic == unspecified {
64 return firstMatch
65 }
66 return p.semantic
67}
68
69// SetSemantic configures the evaluation semantic for the policy.
70func (p *Policy) SetSemantic(s SemanticType) {

Callers 1

Calls

no outgoing calls

Tested by 1