package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Functions

FilterFutureImports filters OUT any future imports from the passed slice of `*ast.Import`s.
IsAllFutureKeywords returns true if the passed *ast.Import is `future.keywords`.
IsFutureKeyword returns true if the passed *ast.Import is `future.keywords.{kw}`.
ParserOptionsFromFutureImports transforms a slice of `ast.Import`s into the `ast.ParserOptions` that can be used to parse a statement according to the included "future.keywords" and "future.keywords.xyz" imports.
No description provided by the author