BUILTIN_RULESconstno test imports itconst BUILTIN_RULES: readonly Rule[]The rules that every parse is judged by.
The rules of introspection (commons lang-sql 0008-sql-introspect FR-007): a rule is data, a code, a severity, a message and a query over the relations that gives a node column, so that the lint of a tree is written in the same SQL.
Spec: 0008-sql-introspect FR-007
BUILTIN_RULESconstno test imports itconst BUILTIN_RULES: readonly Rule[]The rules that every parse is judged by.
Ruleinterfaceno test imports itinterface RuleA rule of diagnostics.
| Member | Type | What it is |
|---|---|---|
code | string | |
severity | "error" | "info" | "warning" | |
message | string | |
sql | string | A query that gives one column named node: the id of each node that deserves the diagnostic. |