Documentation
¶
Index ¶
- Constants
- func Analyze(name string, root *ast.RootNamespace, parseDiags []diag.Diagnostic, ...) []diag.Diagnostic
- func AnalyzeInBatch(name string, kind source.Kind, root *ast.RootNamespace, ...) ([]diag.Diagnostic, *resolve.Reads)
- func AnalyzeShared(name string, kind source.Kind, root *ast.RootNamespace, ...) []diag.Diagnostic
- func AnalyzeWithKind(name string, kind source.Kind, root *ast.RootNamespace, ...) []diag.Diagnostic
- func AnalyzeWithOptions(name string, kind source.Kind, root *ast.RootNamespace, ...) []diag.Diagnostic
- func CheckLintCodes(codes []string) error
- func Contributors(ctx *Context, name string) ([]string, bool)
- func GatherRelationships(ctx *Context, doc string) (*symbols.GatheredRelationships, error)
- func IsLintCode(code string) bool
- func IsObjectiveUsage(decl ast.Node) bool
- func IsOptInLint(code string) bool
- func IsVerificationCase(sym *symbols.Symbol) bool
- func LintCodes() []string
- func NewArgumentTyper(resolver *resolve.Resolver, model *semantics.Model) semantics.ArgumentTyper
- func NewTypedModel(resolver *resolve.Resolver) *semantics.Model
- func PrepareBatch(idx *symbols.Index, batch *Batch)
- func SelectInvocation(resolver *resolve.Resolver, model *semantics.Model, scope *symbols.Scope, ...) *semantics.InvocationSelection
- func WithoutLints(diags []diag.Diagnostic, disabled, enabled map[string]bool) []diag.Diagnostic
- type AnnotationOwnershipPass
- type AssignmentReferentPass
- type AssociationEndTypesPass
- type Batch
- type BehaviorOrderPass
- type ConstraintPass
- type Context
- type DeferredKeeperPass
- type ElementFilterPass
- type ElementScoped
- type EndFeaturePass
- type FeatureReferencePass
- type Gathers
- type GrammarViolationPass
- type ImplicitBasePass
- type KerMLSubsettingMetaclassPass
- type LibraryRootNamePass
- type MOSAPass
- type MetadataAnnotationPass
- type MetadataTypePass
- type MultiplicityBoundsPass
- type MultiplicityDomainPass
- type NameResolutionPass
- type NestedRedefinitionPass
- type NonstandardNotationPass
- type OOSEMMethodPass
- type Options
- type Pass
- type PassLevel
- type PortTypeMismatchPass
- type RedefinitionConformancePass
- type RedefinitionDirectionPass
- type ReferenceSubsettingPass
- type Registry
- type ResultExpressionPass
- type SendActionPass
- type Shared
- type SyntaxPass
- type TopLevelImportPass
- type TransitionGuardPass
- type TriggerArgumentPass
- type TypeCheckPass
- type TypeRelationshipsPass
- type UndeclaredSignalPass
- type UndefinedOperatorPass
- type VariableFeaturePass
- type VariantKindPass
- type VariantOwnerPass
- type W8DConnectorFeaturingPass
- type W8DFlowEndPass
- type W8DMetadataUsagePass
- type W8DOccurrenceTypingPass
- type W8DVariabilityPass
- type W8DVerificationPass
- type W9CBoundFeatureTypesPass
- type W9CInheritedNameConflictPass
- type W9CShortNameDistinguishabilityPass
- type W9CUserStandardLibraryPass
- type W10BEndKindPass
- type W10BIndividualTypingPass
- type W10BPortionOwnerPass
- type W10BRelatedElementsPass
- type W10BStructuralPass
- type W11AKerMLSpecializationPass
- type W11AUsageTypingPass
- type W11EConjugatedSpecializationPass
Constants ¶
const ( CodeImportVisibility = "import-visibility" CodeEnumerationBodyMember = "enumeration-body-member" )
Parser warning codes the analysis reports as errors: the reference rejects both forms, while the parser reads them into the tree the author intended.
const ( CodeMOSAInterfaceNoStandard = "mosa-interface-no-standard" CodeMOSAInterfaceNoControl = "mosa-interface-no-control" CodeMOSAInterfaceNotTraced = "mosa-interface-not-traced" CodeMOSAComponentNoDataRights = "mosa-component-no-data-rights" CodeMOSAProprietaryNoRationale = "mosa-proprietary-no-rationale" CodeMOSABoundaryNotDesignated = "mosa-boundary-not-designated" )
Diagnostic codes of the MOSA rules.
const ( CodeOOSEMRequirementNotDerived = "oosem-requirement-not-derived" CodeOOSEMRequirementNotSatisfied = "oosem-requirement-not-satisfied" CodeOOSEMLogicalNotAllocated = "oosem-logical-component-not-allocated" CodeOOSEMUseCaseSubject = "oosem-use-case-subject" )
Diagnostic codes of the OOSEM method rules.
const ( LevelSyntax = kit.LevelSyntax LevelNameResolution = kit.LevelNameResolution LevelType = kit.LevelType LevelConstraint = kit.LevelConstraint )
const ( CodeSendPayloadMissing = "send-payload-missing" CodeSendToPort = "send-to-port" CodeSendReceiverNotOccurrence = "send-receiver-not-occurrence" CodeSendSenderNotOccurrence = "send-sender-not-occurrence" )
Diagnostic codes of the send-action rules.
const CodeConnectorEnds = "connector-ends"
CodeConnectorEnds marks a connector whose ends do not fit the link it specializes: too many for a binary link, or redefining no end of it.
const CodeDeferredKeeperUnmarked = "deferred-keeper-unmarked"
CodeDeferredKeeperUnmarked marks an accept of a deferred signal at the root of a deferring state's do action that is not marked as the keeping accept.
const CodeKerMLNotation = "kerml-notation"
CodeKerMLNotation marks KerML notation used in a SysML file, where the SysML grammar has no production for it. Strict mode rejects it too: the pinned SysML grammar admits it nowhere.
const CodeNonstandardNotation = "nonstandard-notation"
CodeNonstandardNotation marks notation OpenSysML accepts that no production of the pinned SysML v2 grammars admits.
const CodePortTypeMismatch = "port-type-mismatch"
CodePortTypeMismatch marks a connection, interface or flow between ports whose definitions are unrelated and whose directed features are not conjugate.
const CodeRedefinitionThroughReference = "redefinition-through-reference"
CodeRedefinitionThroughReference marks a chain redefinition walking through a feature that owns no object — a reference, subject or port usage — so the redefinition has nothing below it to apply on.
const CodeReservedKeywordName = "reserved-keyword-name"
CodeReservedKeywordName marks a recovered declared name spelled as a reserved keyword, which analysis rejects in every mode.
const CodeRoundedRealLiteral = "rounded-real-literal"
CodeRoundedRealLiteral marks a decimal literal bound or assigned to a Real-typed feature that no binary64 Real equals, so the feature holds the nearest one.
const CodeSysMLNotation = "sysml-notation"
CodeSysMLNotation marks SysML notation used in a KerML file, which the pinned KerML grammar admits nowhere.
const CodeUnboundParameter = "unbound-parameter"
CodeUnboundParameter advises of an invocation leaving a default-less input parameter unbound: well formed (KerML 1.0 §8.3.4.8.8), but the runtime refuses to evaluate it.
const CodeUndeclaredSignal = "undeclared-signal"
CodeUndeclaredSignal marks a `when <name>` naming no declaration visible where it is written and no signal the model sends.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze(name string, root *ast.RootNamespace, parseDiags []diag.Diagnostic, idx *symbols.Index) []diag.Diagnostic
Analyze runs the default validation passes over a single parsed document and returns diagnostics sorted by span offset, then source, then message. parseDiags are the parser's diagnostics, already adapted to diag.Diagnostic by the caller.
func AnalyzeInBatch ¶ added in v0.9.2
func AnalyzeInBatch(name string, kind source.Kind, root *ast.RootNamespace, parseDiags []diag.Diagnostic, idx *symbols.Index, opts Options, batch *Batch) ([]diag.Diagnostic, *resolve.Reads)
AnalyzeInBatch validates one document of a prepared batch in a context of its own; the result does not depend on which documents share the batch. When the batch records, the context's resolver records what the analysis read of the index and the reads are returned: they are what an interface record of the document carries, so a workspace can tell when the record no longer follows from the documents around it. Otherwise the reads are nil.
func AnalyzeShared ¶
func AnalyzeShared(name string, kind source.Kind, root *ast.RootNamespace, parseDiags []diag.Diagnostic, opts Options, shared Shared) []diag.Diagnostic
AnalyzeShared validates a document over a resolver and model kept across analyses: what the run memoizes is owned by the document (see Resolver.InDocument), to be dropped when it or what it read changes.
func AnalyzeWithKind ¶
func AnalyzeWithKind(name string, kind source.Kind, root *ast.RootNamespace, parseDiags []diag.Diagnostic, idx *symbols.Index) []diag.Diagnostic
AnalyzeWithKind validates a document whose language is not encoded in name, in the default conformance mode.
func AnalyzeWithOptions ¶
func AnalyzeWithOptions(name string, kind source.Kind, root *ast.RootNamespace, parseDiags []diag.Diagnostic, idx *symbols.Index, opts Options) []diag.Diagnostic
AnalyzeWithOptions validates a document under explicit analysis options.
func CheckLintCodes ¶ added in v0.9.2
CheckLintCodes reports the first of codes that names no lint.
func Contributors ¶ added in v0.9.2
Contributors names the workspace documents the shared state called name is built from — a table of the model's or an audit union's, built on first use — and false when name is none of theirs (see kit.ContributorNamer).
func GatherRelationships ¶ added in v0.9.2
func GatherRelationships(ctx *Context, doc string) (*symbols.GatheredRelationships, error)
GatherRelationships reads from doc's usages the relationships the workspace-wide audits gather from a body, by reference, for its interface record to carry; nil when it states none. It fails when an end has no reference to restore it by, naming the end.
func IsLintCode ¶ added in v0.9.2
IsLintCode reports whether code is the code of a lint.
func IsObjectiveUsage ¶ added in v0.9.2
IsObjectiveUsage reports whether decl is an objective usage.
func IsOptInLint ¶ added in v0.10.0
IsOptInLint reports whether code is a lint reported only once enabled.
func IsVerificationCase ¶ added in v0.9.2
IsVerificationCase reports whether sym declares a verification case.
func LintCodes ¶ added in v0.9.2
func LintCodes() []string
LintCodes returns the codes of the diagnostics a surface may disable.
func NewArgumentTyper ¶
NewArgumentTyper is the checker's argument typing for model to select calls with, so a consumer reading a call through the model selects what the checker selects.
func NewTypedModel ¶
NewTypedModel is a semantic model over resolver with the checker's argument typing installed: what every path that hands a model to the runtime builds.
func PrepareBatch ¶ added in v0.9.2
PrepareBatch links what resolving every workspace document would write into its scope tree, so AnalyzeInBatch contexts only read the index. Call it alone, first. Every document, not only the batch's: the workspace-wide gathers read them all. The linker resolves as a context does, model attached.
func SelectInvocation ¶
func SelectInvocation(resolver *resolve.Resolver, model *semantics.Model, scope *symbols.Scope, e *ast.InvocationExpr, performs semantics.Performs) *semantics.InvocationSelection
SelectInvocation is the declaration e calls in scope, chosen among every visible declaration of its name the call site can run by its arguments' static types; the runtime dispatches on it too.
func WithoutLints ¶ added in v0.9.2
func WithoutLints(diags []diag.Diagnostic, disabled, enabled map[string]bool) []diag.Diagnostic
WithoutLints returns diags without the lint findings a surface leaves out: those whose codes disabled holds, and those of the opt-in lints enabled does not hold; diags itself is returned when it has none to drop.
Types ¶
type AnnotationOwnershipPass ¶
type AnnotationOwnershipPass struct{}
AnnotationOwnershipPass checks that an annotation owned by its annotated element owns its annotating element (KerML 8.3.2.3.3): textually, no `about` names itself.
func (AnnotationOwnershipPass) ElementScoped ¶
func (AnnotationOwnershipPass) ElementScoped()
ElementScoped: each `about` reference gates on its own resolution.
func (AnnotationOwnershipPass) Level ¶
func (AnnotationOwnershipPass) Level() PassLevel
func (AnnotationOwnershipPass) Run ¶
func (AnnotationOwnershipPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type AssignmentReferentPass ¶
type AssignmentReferentPass struct{}
AssignmentReferentPass checks SysML AssignmentActionUsage referents.
func (AssignmentReferentPass) ElementScoped ¶
func (AssignmentReferentPass) ElementScoped()
func (AssignmentReferentPass) Level ¶
func (AssignmentReferentPass) Level() PassLevel
func (AssignmentReferentPass) Run ¶
func (AssignmentReferentPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type AssociationEndTypesPass ¶
type AssociationEndTypesPass struct{}
AssociationEndTypesPass checks that every owned end feature of an association has exactly one type (KerML 8.3.4.1.2, validateAssociationEndTypes), counting types inherited by redefinition and ignoring ones a more specific type implies.
func (AssociationEndTypesPass) Level ¶
func (AssociationEndTypesPass) Level() PassLevel
func (AssociationEndTypesPass) Run ¶
func (AssociationEndTypesPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type Batch ¶ added in v0.9.2
Batch is what a batch of analyses shares: its documents, gathers and source lookup.
type BehaviorOrderPass ¶ added in v0.10.0
type BehaviorOrderPass struct{}
BehaviorOrderPass validates executable orders declared outside behavior bodies.
func (BehaviorOrderPass) Level ¶ added in v0.10.0
func (BehaviorOrderPass) Level() kit.PassLevel
func (BehaviorOrderPass) Run ¶ added in v0.10.0
func (BehaviorOrderPass) Run(ctx *kit.Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type ConstraintPass ¶
type ConstraintPass struct{}
ConstraintPass runs the depth-C semantic constraint checks over a document's symbol tree: specialization-cycle detection, multiplicity-range validity, and subsetting multiplicity conformance (design §4.1). It runs at LevelConstraint, after type checking; it relies on the shared semantic model for the resolved specialization graph and extracted multiplicities.
func (ConstraintPass) Level ¶
func (ConstraintPass) Level() PassLevel
func (ConstraintPass) Run ¶
func (ConstraintPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type Context ¶
Context carries shared state made available to every pass in a run.
func NewContext ¶
NewContext builds a Context for a document, in the default mode.
func NewContextWithKind ¶
func NewContextWithKind(name string, kind source.Kind, idx *symbols.Index, parseDiags []diag.Diagnostic) *Context
NewContextWithKind builds a context with an explicit source language.
type DeferredKeeperPass ¶ added in v0.10.0
type DeferredKeeperPass struct{}
DeferredKeeperPass warns when a state annotated `MigrationMetadata::DeferredEvent` has, at the root of its do action, an accept typed by a signal the annotation defers that does not carry `MigrationMetadata::DeferredKeeper`. That is the keeping loop of the standard deferred-signal encoding as it was written before the marker existed: the runtime knows the keeping accept by the marker alone, so without it the loop is an ordinary accept of the signal, which consumes an occurrence instead of keeping it.
func (DeferredKeeperPass) Level ¶ added in v0.10.0
func (DeferredKeeperPass) Level() PassLevel
Level reports the name-resolution level: the annotations' types and the signals' names are all it reads.
func (DeferredKeeperPass) Run ¶ added in v0.10.0
func (DeferredKeeperPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run checks the deferring states of one workspace document.
type ElementFilterPass ¶
type ElementFilterPass struct{}
ElementFilterPass checks the element-filter conditions a document writes: the `filter` members of a namespace (KerML 8.2.4) and the `[...]` clause of an import or expose (SysML v2 7.4.4). A condition is a predicate over one candidate element, so it has to be boolean-valued and it has to be a form the filter evaluator can decide; a condition that is neither selects nothing, and name resolution keeps every candidate rather than hiding model content on a verdict it could not reach.
It runs at LevelType, and its subject is one condition. A classification test is Boolean whatever type it names, so it rests on that type and says nothing more once the type fails to resolve; every other form is judged on itself, where an unresolved name is the verdict — not model-level evaluable — rather than a reason to withhold it.
func (ElementFilterPass) ElementScoped ¶
func (ElementFilterPass) ElementScoped()
func (ElementFilterPass) Level ¶
func (ElementFilterPass) Level() PassLevel
func (ElementFilterPass) Run ¶
func (ElementFilterPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type ElementScoped ¶
type ElementScoped interface{ ElementScoped() }
ElementScoped marks a pass whose subject is a single element rather than the document, so a failure on another element does not skip it. Such a pass names its subject in code and asks Context.DownstreamOfFailure about the references that subject rests on.
type EndFeaturePass ¶
type EndFeaturePass struct{}
EndFeaturePass checks end features (KerML 8.3.3.1.5): an end feature has no direction and is not derived, abstract, composite or portion.
func (EndFeaturePass) ElementScoped ¶
func (EndFeaturePass) ElementScoped()
ElementScoped: each end feature gates on its own head.
func (EndFeaturePass) Level ¶
func (EndFeaturePass) Level() PassLevel
func (EndFeaturePass) Run ¶
func (EndFeaturePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type FeatureReferencePass ¶
type FeatureReferencePass struct{}
FeatureReferencePass checks the features an expression names: a referent must be a feature (KerML 8.4.4.6.2/8.4.4.7.2), a featured one must be reachable from where it is named (8.3.4.5.2 validateSubsettingFeaturingTypes), and each feature of a declared chain must be featured within the one before it (8.3.3.3.4 validateFeatureChainingFeatureConformance).
func (FeatureReferencePass) Level ¶
func (FeatureReferencePass) Level() PassLevel
func (FeatureReferencePass) Run ¶
func (FeatureReferencePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type GrammarViolationPass ¶
type GrammarViolationPass struct{}
GrammarViolationPass escalates the parser's warnings on a bare `import` (ImportPrefix) and an illegal EnumerationBody member to errors; both read, so neither gates a tier.
func (GrammarViolationPass) Level ¶
func (GrammarViolationPass) Level() PassLevel
func (GrammarViolationPass) Run ¶
func (GrammarViolationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type ImplicitBasePass ¶
type ImplicitBasePass struct{}
ImplicitBasePass checks that a classifier reaches the standard-library supertype implied by its kind and that a feature has at least one type (KerML 1.0 validateClassifierDefaultSupertype, validateFeatureHasType). Both hold implicitly once the library is in the resource set, so they report a model whose resources do not supply it, or whose conjugation replaces it.
func (ImplicitBasePass) Level ¶
func (ImplicitBasePass) Level() PassLevel
func (ImplicitBasePass) Run ¶
func (ImplicitBasePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type KerMLSubsettingMetaclassPass ¶
type KerMLSubsettingMetaclassPass struct{}
KerMLSubsettingMetaclassPass checks that a feature subsets or redefines a Feature (KerML 8.3.3.3), in SysML sources as in KerML ones.
func (KerMLSubsettingMetaclassPass) ElementScoped ¶
func (KerMLSubsettingMetaclassPass) ElementScoped()
func (KerMLSubsettingMetaclassPass) Level ¶
func (KerMLSubsettingMetaclassPass) Level() PassLevel
func (KerMLSubsettingMetaclassPass) Run ¶
func (KerMLSubsettingMetaclassPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type LibraryRootNamePass ¶ added in v0.9.2
type LibraryRootNamePass struct{}
LibraryRootNamePass reports a top-level member, alias included, named like a standard library package: a qualified name starting with it can resolve to the library package instead, as the OMG pilot's index does where the library is indexed first, so the name is a portability hazard. The warning is not an error: the specification allows same-named roots. The bundled OpenSysML extension libraries are `library package`s, not standard ones (KerML 1.0 §7.2.5.3 reserves the standard library's names alone), and a model inlining one — the migrator's -portable output — declares what another tool lacks, so a root named like one is not reported.
func (LibraryRootNamePass) Level ¶ added in v0.9.2
func (LibraryRootNamePass) Level() PassLevel
func (LibraryRootNamePass) Run ¶ added in v0.9.2
func (LibraryRootNamePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type MOSAPass ¶
type MOSAPass struct{}
MOSAPass audits the elements a model classifies with the MOSA library for the openness MOSA asks of them; each rule fires only once the model states that kind of fact.
func (MOSAPass) Run ¶
func (MOSAPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run audits one workspace document against the MOSA rules.
type MetadataAnnotationPass ¶
type MetadataAnnotationPass struct{}
MetadataAnnotationPass checks a metadata annotation: what it may annotate, and that its body restates features of its type and binds model-level evaluable values (KerML 1.0 §7.4.9, §8.3.4.9).
func (MetadataAnnotationPass) Level ¶
func (MetadataAnnotationPass) Level() PassLevel
func (MetadataAnnotationPass) Run ¶
func (MetadataAnnotationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type MetadataTypePass ¶
type MetadataTypePass struct{}
MetadataTypePass reports an annotation (`@M`, `#M` or `metadata m : M`) whose type is not a concrete metaclass or metadata definition (KerML validateMetadataFeatureMetadata, validateMetadataFeatureMetadataNotAbstract; SysML validateMetadataUsageType).
func (MetadataTypePass) ElementScoped ¶
func (MetadataTypePass) ElementScoped()
Its subject is one annotation, and the reference that subject rests on is the metaclass it names: a failure on another element does not hide it.
func (MetadataTypePass) Level ¶
func (MetadataTypePass) Level() PassLevel
func (MetadataTypePass) Run ¶
func (MetadataTypePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type MultiplicityBoundsPass ¶
type MultiplicityBoundsPass struct{}
MultiplicityBoundsPass checks that every multiplicity bound has a Natural value (KerML 8.3.3.1.9, validateMultiplicityRangeBoundResultTypes): an evaluable bound must fold to a non-negative integer or `*` and must not reach a valueless feature; any other bound must have an Integer-conforming result type.
func (MultiplicityBoundsPass) Level ¶
func (MultiplicityBoundsPass) Level() PassLevel
func (MultiplicityBoundsPass) Run ¶
func (MultiplicityBoundsPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type MultiplicityDomainPass ¶
type MultiplicityDomainPass struct{}
MultiplicityDomainPass checks that a feature-owned multiplicity has the same featuring types as its owning feature.
func (MultiplicityDomainPass) Level ¶
func (MultiplicityDomainPass) Level() PassLevel
func (MultiplicityDomainPass) Run ¶
func (MultiplicityDomainPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type NameResolutionPass ¶
type NameResolutionPass struct{}
NameResolutionPass resolves every reference in a document via the Plan-3 resolver and reports unresolved / ambiguous references.
func (NameResolutionPass) Level ¶
func (NameResolutionPass) Level() PassLevel
Level reports the name-resolution dependency level.
func (NameResolutionPass) Run ¶
func (NameResolutionPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run resolves the document and adapts resolver diagnostics.
type NestedRedefinitionPass ¶ added in v0.9.2
type NestedRedefinitionPass struct{}
NestedRedefinitionPass reports a chain redefinition (`:>> mid.leaf.value`) whose path crosses a reference usage: the reference owns no object below it for the redefinition to apply on.
func (NestedRedefinitionPass) Level ¶ added in v0.9.2
func (NestedRedefinitionPass) Level() PassLevel
Level reports the constraint level: the pass reads resolved symbols.
func (NestedRedefinitionPass) Run ¶ added in v0.9.2
func (NestedRedefinitionPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run reports each nested redefinition of the document crossing a reference.
type NonstandardNotationPass ¶
type NonstandardNotationPass struct{}
NonstandardNotationPass reports extension notation and recoverable grammar violations without gating later semantic analysis.
func (NonstandardNotationPass) Level ¶
func (NonstandardNotationPass) Level() PassLevel
Level reports the syntax level: the written notation is all it reads.
func (NonstandardNotationPass) Run ¶
func (NonstandardNotationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run walks the document for extension and language-specific notation, and under strict conformance escalates the parser's nonstandard-notation warnings — a /* */ comment where no member may start — to errors.
type OOSEMMethodPass ¶
type OOSEMMethodPass struct{}
OOSEMMethodPass audits the artefacts a model classifies with the OOSEM library against the method's traceability and allocation rules. Each rule fires only once the model declares the artefacts the rule relates, so a model still being built is not told what it has not reached yet.
func (OOSEMMethodPass) Level ¶
func (OOSEMMethodPass) Level() PassLevel
func (OOSEMMethodPass) Run ¶
func (OOSEMMethodPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type PortTypeMismatchPass ¶ added in v0.9.2
type PortTypeMismatchPass struct{}
PortTypeMismatchPass warns when the two ends of a connection, interface or flow are ports whose definitions are unrelated — neither specializes the other, nor do they specialize a common definition — and neither of whose directed features all match the other's as a conjugate pair (SysML v2 §7.12.2). The specification asks no such check of a connector, so this is a lint.
func (PortTypeMismatchPass) Level ¶ added in v0.9.2
func (PortTypeMismatchPass) Level() PassLevel
Level reports the constraint level: the ends' resolved port types are what it reads.
func (PortTypeMismatchPass) Run ¶ added in v0.9.2
func (PortTypeMismatchPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run checks every connection, interface and flow the document declares.
type RedefinitionConformancePass ¶
type RedefinitionConformancePass struct{}
RedefinitionConformancePass reports the feature-conformance rules a subsetting or redefinition breaks: direction, uniqueness and constancy (KerML 8.3.3.3). The predicates live in semantics; this pass only locates and words them.
func (RedefinitionConformancePass) Level ¶
func (RedefinitionConformancePass) Level() PassLevel
func (RedefinitionConformancePass) Run ¶
func (RedefinitionConformancePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type RedefinitionDirectionPass ¶
type RedefinitionDirectionPass struct{}
RedefinitionDirectionPass reports direction conformance as a typing property.
func (RedefinitionDirectionPass) Level ¶
func (RedefinitionDirectionPass) Level() PassLevel
func (RedefinitionDirectionPass) Run ¶
func (RedefinitionDirectionPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type ReferenceSubsettingPass ¶
type ReferenceSubsettingPass struct{}
ReferenceSubsettingPass checks that a feature owns at most one reference subsetting (`references`/`::>`), KerML 8.3.3.1.5. Every reference subsetting after the first is reported, as the pilot does.
func (ReferenceSubsettingPass) Level ¶
func (ReferenceSubsettingPass) Level() PassLevel
func (ReferenceSubsettingPass) Run ¶
func (ReferenceSubsettingPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry holds an ordered set of validation passes.
func DefaultRegistry ¶
func DefaultRegistry() *Registry
DefaultRegistry returns the default pass registry: syntax, name resolution, state transitions, type checking, and semantic constraints.
func (*Registry) Run ¶
func (r *Registry) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run executes all registered passes in ascending PassLevel order and returns their accumulated diagnostics. A pass whose subject is the document is skipped once a strictly lower level emitted a blocking diagnostic, avoiding cascade noise; an ElementScoped pass runs and gates itself per element. Passes at the same level always run.
type ResultExpressionPass ¶
type ResultExpressionPass struct{}
ResultExpressionPass checks that a function or expression has at most one result expression, owned or inherited (KerML 8.3.4.6 Expression::result, 8.3.4.8 Function::result). A calculation body states at most one; a type that inherits a result expression cannot state its own — a specialization or redefinition keeps the inherited body or adds constraints beside it — and one that inherits two along different specializations is invalid on its own.
func (ResultExpressionPass) ElementScoped ¶
func (ResultExpressionPass) ElementScoped()
ElementScoped: each type gates on the head naming its supertypes.
func (ResultExpressionPass) Level ¶
func (ResultExpressionPass) Level() PassLevel
func (ResultExpressionPass) Run ¶
func (ResultExpressionPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type SendActionPass ¶
type SendActionPass struct{}
SendActionPass types the payload, `via` and `to` arguments of every send and checks the SysML v2 SendActionUsage constraints on them.
func (SendActionPass) ElementScoped ¶
func (SendActionPass) ElementScoped()
ElementScoped lets each send argument gate independently on lower failures.
func (SendActionPass) Level ¶
func (SendActionPass) Level() PassLevel
Level reports that this pass consumes name-resolution results.
func (SendActionPass) Run ¶
func (SendActionPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run checks every send in the document.
type Shared ¶
type Shared struct {
// needs; nil leaves every body unreadable, as batch analysis never is.
Source source.Lookup
}
Shared is the semantic state a workspace keeps across analyses: the resolver and model it memoizes into, and what its audits gathered per document.
type SyntaxPass ¶
type SyntaxPass struct{}
SyntaxPass surfaces the parser-produced diagnostics carried on the Context. The passes package does not import parser; the caller adapts parser diagnostics into diag.Diagnostic and stores them on Context.ParseDiagnostics.
func (SyntaxPass) Level ¶
func (SyntaxPass) Level() PassLevel
Level reports that syntax is the lowest dependency level.
func (SyntaxPass) Run ¶
func (SyntaxPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run returns the parse diagnostics carried on the context.
type TopLevelImportPass ¶
type TopLevelImportPass struct{}
TopLevelImportPass checks that an import owned by the root namespace is private (KerML 8.2.3.4.2, validateImportTopLevelVisibility): a root namespace has no owner, so a non-private import there exports into nothing. It runs at the constraint tier so a recovered parse is not reported on twice and this error does not gate the type and constraint tiers.
func (TopLevelImportPass) Level ¶
func (TopLevelImportPass) Level() PassLevel
func (TopLevelImportPass) Run ¶
func (TopLevelImportPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type TransitionGuardPass ¶
type TransitionGuardPass struct{}
TransitionGuardPass checks that each transition guard is Boolean-valued, including the guarded successions of an action body (`first a if x then b;`).
func (TransitionGuardPass) ElementScoped ¶
func (TransitionGuardPass) ElementScoped()
func (TransitionGuardPass) Level ¶
func (TransitionGuardPass) Level() PassLevel
func (TransitionGuardPass) Run ¶
func (TransitionGuardPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type TriggerArgumentPass ¶
type TriggerArgumentPass struct{}
TriggerArgumentPass types the argument of every `after`, `at` or `when` trigger, each gated on its own argument rather than the whole document.
func (TriggerArgumentPass) ElementScoped ¶
func (TriggerArgumentPass) ElementScoped()
func (TriggerArgumentPass) Level ¶
func (TriggerArgumentPass) Level() PassLevel
func (TriggerArgumentPass) Run ¶
func (TriggerArgumentPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type TypeCheckPass ¶
type TypeCheckPass struct{}
TypeCheckPass validates that each def/usage relationship target has a symbol kind compatible with the source node and relationship kind (spec §6.3), and types expressions (operands, bound values, invocation arguments) against the stdlib scalar lattice. It runs at LevelType, after name resolution; unresolved targets are skipped.
func (TypeCheckPass) Level ¶
func (TypeCheckPass) Level() PassLevel
func (TypeCheckPass) Run ¶
func (TypeCheckPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type TypeRelationshipsPass ¶
type TypeRelationshipsPass struct{}
TypeRelationshipsPass checks the union, intersection, difference and chaining relationships a type owns for a single operand or a self operand (KerML 8.3.3.1.2, 8.3.3.1.5). Constraint tier: the self rules resolve targets.
func (TypeRelationshipsPass) Level ¶
func (TypeRelationshipsPass) Level() PassLevel
func (TypeRelationshipsPass) Run ¶
func (TypeRelationshipsPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type UndeclaredSignalPass ¶ added in v0.9.2
type UndeclaredSignalPass struct{}
UndeclaredSignalPass warns when a transition's `when <name>` names neither a declaration visible where it is written nor a signal any `send` of the model sends. Such a name is matched against injected signals by name alone (see resolve.Resolver.resolveTrigger), so a misspelling would otherwise wait for a signal nothing sends.
func (UndeclaredSignalPass) Level ¶ added in v0.9.2
func (UndeclaredSignalPass) Level() PassLevel
Level reports the name-resolution level: what the trigger's name reaches is all it reads.
func (UndeclaredSignalPass) Run ¶ added in v0.9.2
func (UndeclaredSignalPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run checks the signal triggers of one workspace document.
type UndefinedOperatorPass ¶
type UndefinedOperatorPass struct{}
UndefinedOperatorPass warns on every written `~x`, as §8.2.5.8.1 asks of a tool when no domain-specific definition of `DataFunctions::'~'` is available.
func (UndefinedOperatorPass) Level ¶
func (UndefinedOperatorPass) Level() PassLevel
Level reports the syntax level: the written operator is all it reads, so a later-tier failure never hides the warning.
func (UndefinedOperatorPass) Run ¶
func (UndefinedOperatorPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Run warns at each `~` operator expression the parser recorded on the root. It stays a warning in every conformance mode: the specification asks for a warning, not a rejection.
type VariableFeaturePass ¶
type VariableFeaturePass struct{}
VariableFeaturePass checks feature variability (KerML 8.3.3.1.5): a `var` feature is owned by an occurrence type and is no portion; only a variable feature is initialized or constant.
func (VariableFeaturePass) ElementScoped ¶
func (VariableFeaturePass) ElementScoped()
ElementScoped: each feature gates on its own head and its owner's.
func (VariableFeaturePass) Level ¶
func (VariableFeaturePass) Level() PassLevel
func (VariableFeaturePass) Run ¶
func (VariableFeaturePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type VariantKindPass ¶ added in v0.11.0
type VariantKindPass struct{}
VariantKindPass checks that the kind of a variant usage is consistent with its owning variation (SysML v2 §7.6.7). A variant specializes the variation it is a variant of (§8.3.9.11 checkUsageVariationDefinitionSpecialization, checkUsageVariationUsageSpecialization), so the variation's types are the variant's too, and the kind's typing rule judges them like a declared type.
func (VariantKindPass) ElementScoped ¶ added in v0.11.0
func (VariantKindPass) ElementScoped()
ElementScoped: a variant gates on its own declaration and on what makes its owner a variation, not on faults elsewhere in the document.
func (VariantKindPass) Level ¶ added in v0.11.0
func (VariantKindPass) Level() PassLevel
func (VariantKindPass) Run ¶ added in v0.11.0
func (VariantKindPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type VariantOwnerPass ¶
type VariantOwnerPass struct{}
VariantOwnerPass reports a `variant` whose owner is not a variation: it offers no choice to anything (SysML v2 §7.20 VariantMembership; pilot SysMLValidator validateVariationMembershipOwningNamespace). The grammar admits the member in any definition body (SysML.xtext DefinitionBodyItem), so the rule is semantic.
func (VariantOwnerPass) ElementScoped ¶
func (VariantOwnerPass) ElementScoped()
ElementScoped: a variant gates on its own declaration and on what makes its owner a variation, not on faults elsewhere in the document.
func (VariantOwnerPass) Level ¶
func (VariantOwnerPass) Level() PassLevel
func (VariantOwnerPass) Run ¶
func (VariantOwnerPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DConnectorFeaturingPass ¶
type W8DConnectorFeaturingPass struct{}
W8DConnectorFeaturingPass checks that each end of a connector names a feature featured within the connector's own featuring type (KerML 1.0 §8.3.3.3, Feature::isFeaturedWithin): a nested feature is reached with dot notation, not with `::`.
func (W8DConnectorFeaturingPass) Level ¶
func (W8DConnectorFeaturingPass) Level() PassLevel
func (W8DConnectorFeaturingPass) Run ¶
func (W8DConnectorFeaturingPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DFlowEndPass ¶
type W8DFlowEndPass struct{}
W8DFlowEndPass checks that a flow's ends name features of the flow's own context rather than members of an unrelated definition (SysML v2 §8.3.17).
func (W8DFlowEndPass) Level ¶
func (W8DFlowEndPass) Level() PassLevel
func (W8DFlowEndPass) Run ¶
func (W8DFlowEndPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DMetadataUsagePass ¶
type W8DMetadataUsagePass struct{}
W8DMetadataUsagePass checks that every feature in a `metadata m : A { … }` usage body redefines one of A's own and binds a model-level evaluable value (KerML §7.5); the type itself is MetadataTypePass's. It runs at the tier MetadataAnnotationPass reports the same rules for the `@A { … }` spelling.
func (W8DMetadataUsagePass) Level ¶
func (W8DMetadataUsagePass) Level() PassLevel
func (W8DMetadataUsagePass) Run ¶
func (W8DMetadataUsagePass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DOccurrenceTypingPass ¶
type W8DOccurrenceTypingPass struct{}
W8DOccurrenceTypingPass checks that an occurrence, item or part is typed by occurrence definitions only (SysML v2 §8.3.9.11, OccurrenceUsage).
func (W8DOccurrenceTypingPass) Level ¶
func (W8DOccurrenceTypingPass) Level() PassLevel
func (W8DOccurrenceTypingPass) Run ¶
func (W8DOccurrenceTypingPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DVariabilityPass ¶
type W8DVariabilityPass struct{}
W8DVariabilityPass checks that every usage a variation owns is a variant and that a variation does not specialize another variation (SysML v2 §7.20). An enumeration definition is a variation without saying so (SysML v2 §7.6.4).
func (W8DVariabilityPass) Level ¶
func (W8DVariabilityPass) Level() PassLevel
func (W8DVariabilityPass) Run ¶
func (W8DVariabilityPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W8DVerificationPass ¶
type W8DVerificationPass struct{}
W8DVerificationPass checks that a `verify` appears only in the objective of a verification case (SysML v2 §8.3.24).
func (W8DVerificationPass) Level ¶
func (W8DVerificationPass) Level() PassLevel
func (W8DVerificationPass) Run ¶
func (W8DVerificationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W9CBoundFeatureTypesPass ¶
type W9CBoundFeatureTypesPass struct{}
W9CBoundFeatureTypesPass checks that the two features a binding connector binds have conforming types (SysML 8.3.3.1, KerML 8.3.4.3): binding features of unrelated types cannot be satisfied. Besides `bind a = b` it judges the bindings the language implies: a function's result expression to its result parameter, a subject's value or the subject of a `satisfy … by` to the subject it fills, and a nested requirement's subject to its owner's. The binding an operator or invocation argument implies is judged by the type checker, which knows the parameter it fills (w9c_argument_bindings.go).
func (W9CBoundFeatureTypesPass) Level ¶
func (W9CBoundFeatureTypesPass) Level() PassLevel
func (W9CBoundFeatureTypesPass) Run ¶
func (W9CBoundFeatureTypesPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W9CInheritedNameConflictPass ¶
type W9CInheritedNameConflictPass struct{}
W9CInheritedNameConflictPass warns when a declaration reuses a member name a library definition it conforms to already supplies — `state start;` inside a state, against StatePerformances::StateAction::start — and when two such definitions each supply a feature of one name: `action a : ABlock` inherits `self`, `start` and `done` from both Actions::Action and Parts::Part. The resolver's own rule covers only the document's own supertypes.
func (W9CInheritedNameConflictPass) Level ¶
func (W9CInheritedNameConflictPass) Level() PassLevel
func (W9CInheritedNameConflictPass) Run ¶
func (W9CInheritedNameConflictPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W9CShortNameDistinguishabilityPass ¶
type W9CShortNameDistinguishabilityPass struct{}
W9CShortNameDistinguishabilityPass reports the short names one namespace uses twice, or that repeat another member's name: a short name is a name for distinguishability (KerML 7.2.2). Resolve's own rule keys on primary names, so it never sees these.
func (W9CShortNameDistinguishabilityPass) Level ¶
func (W9CShortNameDistinguishabilityPass) Level() PassLevel
func (W9CShortNameDistinguishabilityPass) Run ¶
func (W9CShortNameDistinguishabilityPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W9CUserStandardLibraryPass ¶
type W9CUserStandardLibraryPass struct{}
W9CUserStandardLibraryPass reports a `standard library package` written outside the standard library: only the library's own packages may claim it (KerML 7.2.4).
func (W9CUserStandardLibraryPass) Level ¶
func (W9CUserStandardLibraryPass) Level() PassLevel
func (W9CUserStandardLibraryPass) Run ¶
func (W9CUserStandardLibraryPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W10BEndKindPass ¶
type W10BEndKindPass struct{}
W10BEndKindPass checks the kind and the number of end features an interface or a flow connection definition declares. It is level-scoped to the type tier like the usage-typing rules it accompanies, since the reference reports both on the same declaration.
func (W10BEndKindPass) Level ¶
func (W10BEndKindPass) Level() PassLevel
func (W10BEndKindPass) Run ¶
func (W10BEndKindPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W10BIndividualTypingPass ¶
type W10BIndividualTypingPass struct{}
W10BIndividualTypingPass checks that a usage carrying the `individual` modifier is typed by exactly one individual definition (SysML v2 §8.3.9.11). Other types are allowed beside it, as they are in the reference.
func (W10BIndividualTypingPass) Level ¶
func (W10BIndividualTypingPass) Level() PassLevel
func (W10BIndividualTypingPass) Run ¶
func (W10BIndividualTypingPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W10BPortionOwnerPass ¶
type W10BPortionOwnerPass struct{}
W10BPortionOwnerPass checks that a `snapshot` or `timeslice` usage is owned by an occurrence definition or usage: a portion of an occurrence needs the occurrence it is a portion of (SysML v2 §8.3.9.11).
func (W10BPortionOwnerPass) Level ¶
func (W10BPortionOwnerPass) Level() PassLevel
func (W10BPortionOwnerPass) Run ¶
func (W10BPortionOwnerPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W10BRelatedElementsPass ¶
type W10BRelatedElementsPass struct{}
W10BRelatedElementsPass reports a concrete association with fewer than two ends, or a concrete connector whose ends reference fewer than two features: a link needs two participants (KerML 1.1 §8.3.3.5, §8.3.4.7). An abstract declaration is exempt, as it is in the reference — its ends are the specialization's to supply. A binding connector, abstract or not, must bind exactly two features (§8.3.4.7.2 validateBindingConnectorIsBinary).
func (W10BRelatedElementsPass) Level ¶
func (W10BRelatedElementsPass) Level() PassLevel
func (W10BRelatedElementsPass) Run ¶
func (W10BRelatedElementsPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W10BStructuralPass ¶
type W10BStructuralPass struct{}
W10BStructuralPass checks how many members of a kind a declaration owns and whether they may be composite. The rules read the declaration only, so they sit at the type tier rather than behind it.
func (W10BStructuralPass) Level ¶
func (W10BStructuralPass) Level() PassLevel
func (W10BStructuralPass) Run ¶
func (W10BStructuralPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W11AKerMLSpecializationPass ¶
type W11AKerMLSpecializationPass struct{}
W11AKerMLSpecializationPass checks the kind of a classifier's supertypes: a data type specializes neither a class nor an association, a class neither a data type nor an association, and a structure and a behavior do not specialize each other (KerML 1.0 §8.4.4). A SysML definition is a classifier of the family its metaclass specializes, and its data type and class rules are worded in SysML terms (SysML v2 §8.3.7.2, §8.3.10.2).
func (W11AKerMLSpecializationPass) Level ¶
func (W11AKerMLSpecializationPass) Level() PassLevel
func (W11AKerMLSpecializationPass) Run ¶
func (W11AKerMLSpecializationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W11AUsageTypingPass ¶
type W11AUsageTypingPass struct{}
W11AUsageTypingPass checks the kind of a usage's type where the typing is inherited through a subsetting, redefinition or reference subsetting, and the kind of the feature a `perform`/`exhibit` member references.
func (W11AUsageTypingPass) Level ¶
func (W11AUsageTypingPass) Level() PassLevel
func (W11AUsageTypingPass) Run ¶
func (W11AUsageTypingPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
type W11EConjugatedSpecializationPass ¶
type W11EConjugatedSpecializationPass struct{}
W11EConjugatedSpecializationPass checks that a conjugated type is not the specific type of a specialization (KerML 1.0 validateSpecializationSpecificNotConjugated). The specialization metaclass rules are W11AKerMLSpecializationPass's, and this pass shares its level so a kind error does not suppress this one.
func (W11EConjugatedSpecializationPass) Level ¶
func (W11EConjugatedSpecializationPass) Level() PassLevel
func (W11EConjugatedSpecializationPass) Run ¶
func (W11EConjugatedSpecializationPass) Run(ctx *Context, name string, root *ast.RootNamespace) []diag.Diagnostic
Source Files
¶
- analyze.go
- annotation_ownership.go
- at_most_one_member.go
- behavior_order.go
- conformance.go
- conjugator.go
- constraint.go
- end_feature.go
- end_multiplicity.go
- feature_decl.go
- feature_value_overriding.go
- filter.go
- gathers.go
- grammar_violation.go
- invocation.go
- kerml_subsetting_metaclass.go
- library_root_name.go
- lint_deferred_keeper.go
- lint_port_type.go
- lint_rounded_real.go
- lint_signal_gather.go
- lint_undeclared_signal.go
- lints.go
- mosa.go
- mosa_gather.go
- multiplicity_conformance.go
- multiplicity_domain.go
- nameres.go
- nested_redefinition.go
- nonstandard_notation.go
- one_type.go
- oosem_gather.go
- oosem_method.go
- pass.go
- registry.go
- relationships.go
- return_parameter.go
- send_action.go
- subsetting_featuring.go
- syntax.go
- transition_guard.go
- typecheck.go
- typecheck_assign.go
- typecheck_dimension.go
- typecheck_expr.go
- typecheck_metadata_body.go
- typecheck_operator.go
- typecheck_relationship_ends.go
- typecheck_trigger.go
- typecheck_value.go
- undefined_operator.go
- usage_type_kind.go
- variant_kind.go
- variant_owner.go
- w10b_cross_features.go
- w10b_ends.go
- w10b_individual_portion.go
- w10b_redefinition.go
- w10b_related_elements.go
- w10b_structural.go
- w10b_usage_typing.go
- w11a_kerml_specialization.go
- w11a_usage_typing.go
- w11e_conjugated_specialization.go
- w11e_implicit_base.go
- w8b_redefinition_conformance.go
- w8c_association_end_types.go
- w8c_feature_reference.go
- w8c_import_visibility.go
- w8c_metadata_annotation.go
- w8c_metadata_type.go
- w8c_multiplicity_bounds.go
- w8c_reference_subsetting.go
- w8c_result_expression.go
- w8c_type_relationships.go
- w8c_variable_feature.go
- w8d_assignment_referent.go
- w8d_connector_featuring.go
- w8d_flow_end.go
- w8d_metadata_usage.go
- w8d_occurrence_typing.go
- w8d_variability.go
- w8d_verification.go
- w9c_argument_bindings.go
- w9c_bound_feature_types.go
- w9c_inherited_name_conflict.go
- w9c_owned_name_and_library.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package behavior contains validation passes over state machines, successions and control nodes.
|
Package behavior contains validation passes over state machines, successions and control nodes. |
|
Package diagram contains validation passes for view renderings and diagram layout annotations.
|
Package diagram contains validation passes for view renderings and diagram layout annotations. |
|
Package document contains validation passes for document definitions and queries.
|
Package document contains validation passes for document definitions and queries. |
|
Package identity contains the validation pass over declared element identities and the workspace-wide gather it reads.
|
Package identity contains the validation pass over declared element identities and the workspace-wide gather it reads. |
|
Package kit contains the reusable validation pass framework.
|
Package kit contains the reusable validation pass framework. |