Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Module ¶ added in v0.9.0
Module works like ast.ParseModule but with the Regal parser options applied.
func MustParseModule ¶
MustParseModule works like ast.MustParseModule but with the Regal parser options applied.
func ParserOptions ¶
func ParserOptions() ast.ParserOptions
ParserOptions provides parser options with annotation processing. JSONOptions are not included, as it is assumed that the caller will marshal the AST to JSON with the roast encoder rather than encoding/json (and consequently, the OPA marshaller implementations).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.