CreatePolicyParser creates a policy parser using the optionally configured parser options.
()
| 164 | |
| 165 | // CreatePolicyParser creates a policy parser using the optionally configured parser options. |
| 166 | func (c *compiler) CreatePolicyParser() (*policy.Parser, error) { |
| 167 | return policy.NewParser(c.policyParserOptions...) |
| 168 | } |
| 169 | |
| 170 | // PolicyCompilerOptions returns the policy compiler options configured in the compiler. |
| 171 | func (c *compiler) PolicyCompilerOptions() []policy.CompilerOption { |
nothing calls this directly
no test coverage detected