public final class SemanticStage extends Object
SEMANTIC (specification Section 14.2) as the reference runner implements it
(conformance/run.py, stage_semantic): module presence, Facts without an Occurrence,
declaration bases, document-local identities, the proof/binding/coverage contracts of Sections 4.3 and 4.4,
source embedding, PATH-V1 nesting, FROM-item row propagation, spans against the source text, the column
ordinals of the ExplainGraph, and the FOLD-V1 checks of a SemanticStage.FoldCheck when one is given.| Modifier and Type | Class and Description |
|---|---|
static interface |
SemanticStage.FoldCheck
The FOLD-V1
PROJECTOR checks, run when the document has an ExplainGraph. |
| Constructor and Description |
|---|
SemanticStage(SourceTextProvider sources,
SemanticStage.FoldCheck fold) |
| Modifier and Type | Method and Description |
|---|---|
List<Finding> |
run(Map<?,?> doc,
List<Finding> deferred,
List<String> notes)
The findings of the stage for a document that passed stage
SCHEMA. |
public SemanticStage(SourceTextProvider sources, SemanticStage.FoldCheck fold)
sources - where the text of NAMED source units is found; SourceTextProvider.NONE for nonefold - the FOLD-V1 checks, or null to skip them