CompileMatchOutput sets a custom match output compiling function.
(f CompileMatchOutputFunc)
| 245 | |
| 246 | // CompileMatchOutput sets a custom match output compiling function. |
| 247 | func CompileMatchOutput(f CompileMatchOutputFunc) CompilerOption { |
| 248 | return func(c *compiler) error { |
| 249 | c.compileMatchOutput = f |
| 250 | return nil |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | // Compile combines the policy compilation and composition steps into a single call. |
| 255 | // |
nothing calls this directly
no outgoing calls
no test coverage detected