Say what the graph and the load path each hold
This commit is contained in:
@@ -1334,7 +1334,7 @@ draw.go one reference draw per render and group: the draw set a render r
|
|||||||
drawfence.go the load fences over reference draws: the drawGroup option, and the walk over a render's reads
|
drawfence.go the load fences over reference draws: the drawGroup option, and the walk over a render's reads
|
||||||
family.go a family of linked tables: what a reference path reads of one, and the fence over paths into it
|
family.go a family of linked tables: what a reference path reads of one, and the fence over paths into it
|
||||||
reference.go reference sigils, and binding references across the tree
|
reference.go reference sigils, and binding references across the tree
|
||||||
graph.go the graph the fences walk: containment and render edges, and the cycle and repeat fences
|
graph.go the node graph: tree walks, containment and render edges, and the cycle and repeat fences
|
||||||
builtins.go the {name()} function registry and its implementations
|
builtins.go the {name()} function registry and its implementations
|
||||||
layout.go date and time layouts: the instants one is proved against, and the two samples
|
layout.go date and time layouts: the instants one is proved against, and the two samples
|
||||||
checksum.go the check characters a derivation appends, and the IBAN they sit inside
|
checksum.go the check characters a derivation appends, and the IBAN they sit inside
|
||||||
@@ -1342,7 +1342,7 @@ transform.go the builtins that rewrite an operand's value, and the ASCII fold
|
|||||||
calc.go the {calc()} arithmetic evaluator: parser, eval, validation
|
calc.go the {calc()} arithmetic evaluator: parser, eval, validation
|
||||||
datatype.go column datatypes: DataType, where datatype and null may sit, a column's datatype
|
datatype.go column datatypes: DataType, where datatype and null may sit, a column's datatype
|
||||||
value.go the value proof: what a typed column or calc operand holds, checked at load
|
value.go the value proof: what a typed column or calc operand holds, checked at load
|
||||||
data.go the load path: fs.FS folders/files -> namespace tree, multi-source merge, then the fences in order
|
data.go the load path: fs.FS folders/files -> merged namespace tree, and the fence order every scope runs
|
||||||
cmd/fejkdata/ the fejkdata CLI
|
cmd/fejkdata/ the fejkdata CLI
|
||||||
data/ shipped data (JSON, and a TSV per table), embedded at build: locale folders, geo, misc
|
data/ shipped data (JSON, and a TSV per table), embedded at build: locale folders, geo, misc
|
||||||
data-import/ the scripts that rebuild each sourced table (see DATA-LICENSES.md)
|
data-import/ the scripts that rebuild each sourced table (see DATA-LICENSES.md)
|
||||||
|
|||||||
@@ -215,8 +215,8 @@ func checkScope(s nodeScope) error {
|
|||||||
|
|
||||||
// checkRenders runs the per-node fences over a scope, each over the whole scope
|
// checkRenders runs the per-node fences over a scope, each over the whole scope
|
||||||
// before the next, so which of several broken nodes is reported does not depend on
|
// before the next, so which of several broken nodes is reported does not depend on
|
||||||
// the walk. It runs after checkNoCycles, whose guarantee is what lets the walks
|
// the walk. Its walks terminate only where nothing renders itself, so run it over a
|
||||||
// terminate.
|
// loaded tree after checkNoCycles.
|
||||||
func checkRenders(s nodeScope) error {
|
func checkRenders(s nodeScope) error {
|
||||||
mem := reachMemo{}
|
mem := reachMemo{}
|
||||||
if err := s(func(path string, n node) error { return repeatCheck(path, n, mem) }); err != nil {
|
if err := s(func(path string, n node) error { return repeatCheck(path, n, mem) }); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user