Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Command cmd evaluates the rule in rules.txt against the JSON object in test.json.
|
Command cmd evaluates the rule in rules.txt against the JSON object in test.json. |
|
Package parser parses and compiles the JSON query rules and evaluates them.
|
Package parser parses and compiles the JSON query rules and evaluates them. |
|
internal/attrstack
Package attrstack holds the attribute stack of the compiled evaluator of the rules.
|
Package attrstack holds the attribute stack of the compiled evaluator of the rules. |
|
internal/hashset
Package hashset holds the compact hash sets that the rules compiler uses for the long lists of an "in" term.
|
Package hashset holds the compact hash sets that the rules compiler uses for the long lists of an "in" term. |
|
internal/plainversion
Package plainversion parses plain semantic versions, without allocating.
|
Package plainversion parses plain semantic versions, without allocating. |
|
internal/reference
Package reference is the reference evaluator of the query grammar: it walks the parse tree with the ANTLR visitor, the way the evaluator worked before rules were compiled.
|
Package reference is the reference evaluator of the query grammar: it walks the parse tree with the ANTLR visitor, the way the evaluator worked before rules were compiled. |
Click to show internal directories.
Click to hide internal directories.