Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRuleDetail ¶
GetRuleDetail returns a short descriptive string value for a given rule stating if the rule is constant, multi-value, single-value etc and the type of the rule's value if known.
func IsConstant ¶
IsConstant returns true if the rule is a "constant" rule, i.e. one without conditions and scalar value in the head.
func RefToString ¶
RefToString converts an ast.Ref to a readable string, e.g. data.foo[bar].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.