Softanza
StartFrançais
Softanza
The library documents itself · Metaprogramming & code rules

stzCodeGraph

35 own methods · 0 forms written with extensions, listed under their method

the source: base/meta/stzCodeGraph.ring(opens in a new tab) · All classes · The area reference: Metaprogramming & code rules

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class has an example yet: the page cannot build an object of this class yet, nor compose the arguments of its methods.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
SetRoot
(no comment in the source: the name reads as a sentence) set rootno extension
Language
language identity (subclasses override)no extension
FileExtension
(no comment in the source: the name reads as a sentence) file extensionno extension
ScanSourceViaTreeSitter
tree-sitter scanning (real parse in the engine, no runtime) -------- Parse one source string via the vendored tree-sitter grammar for THIS language; ingest the shared line protocol it emits.no extension
BuildGraph
(no comment in the source: the name reads as a sentence) build graphno extension
GraphQ
structure queriesno extension
Classes
(no comment in the source: the name reads as a sentence) classesno extension
NumberOfClasses
(no comment in the source: the name reads as a sentence) number of classesno extension
NumberOfMethods
(no comment in the source: the name reads as a sentence) number of methodsno extension
Functions
(no comment in the source: the name reads as a sentence) functionsno extension
NumberOfFunctions
(no comment in the source: the name reads as a sentence) number of functionsno extension
MethodsOf
(no comment in the source: the name reads as a sentence) methods ofno extension
CheckRules
Every method as [ class, method, line ] -- the locus a code RULE needs (MethodsOf gives names only). @aMethods is [ class, method, file, line ]. The uniform graph-owned verb: the code graph checks ITSELF against the code rule set, in the unified finding shape -- so an stzRuleReport can Collect it like any other graph. (StzCheckCode remains the per-line adapter for source snippets; this is the whole-graph, unified-shape path.)no extension
RulesAreSound
(no comment in the source: the name reads as a sentence) rules are soundno extension
MethodsWithLines
(no comment in the source: the name reads as a sentence) methods with linesno extension
FunctionsWithLines
Every module-level function as [ function, line ].no extension
OwnersOf
every class that DEFINES this methodno extension
ParentsOf
(no comment in the source: the name reads as a sentence) parents ofno extension
ParentOf
convenience: the FIRST parent (single-inheritance languages, or the MRO spine of a multiple-inheritance one), "" if none.no extension
FileOf
(no comment in the source: the name reads as a sentence) file ofno extension
ImportsOf
(no comment in the source: the name reads as a sentence) imports ofno extension
NumberOfImports
(no comment in the source: the name reads as a sentence) number of importsno extension
AncestryOf
the inheritance chain up to a root, following the FIRST base (the MRO spine); multiple bases are visited by DescendantsOf/ImpactOf.no extension
SubclassesOf
(no comment in the source: the name reads as a sentence) subclasses ofno extension
DescendantsOf
(no comment in the source: the name reads as a sentence) descendants ofno extension
ImpactOf
IMPACT: classes defining the method + every descendant that INHERITS it (does not redefine).no extension
Cascade
(no comment in the source: the name reads as a sentence) cascadeno extension
HasCallEdges
CALL edges (present only with a real-parse backend)no extension
CallEdges
(no comment in the source: the name reads as a sentence) call edgesno extension
CallersOf
(no comment in the source: the name reads as a sentence) callers ofno extension
CalleesOf
(no comment in the source: the name reads as a sentence) callees ofno extension
DeadCode
every DEFINED function/method that NO recorded call reaches (a dead-code candidate). dunder methods are runtime entry points, never dead. Name- based over the call edges -- honest about dynamic dispatch (a call through a variable can't be seen), so it names candidates, not proof.no extension
CyclicCalls
every DEFINED function/method that can reach ITSELF through >=1 call (i.e. participates in a call cycle, direct or indirect recursion).no extension
Stats
(no comment in the source: the name reads as a sentence) statsno extension