layerGeneration 74

May depend on Grammar, Faker.

Namespaces§

Interfaces 5§

LexemeGeneratorSqlFaker\Generation\LexemeSupplies candidates without choosing one or mutating the generation state.
LexicalGrammar @visibility rootSqlFaker\Generation\LexemeGenerates lexical values and realizes grammar terminals using fixed dialect definitions. Output validity is checked against the target database; tokenizer identity is not a success condition.
SpacingRuleSqlFaker\Generation\LexemeRestricts one boundary without choosing a candidate or modifying output.
RewriteRuleSqlFaker\Generation\TokenOne source-based structural transformation, before any spelling is selected.
ValueDomainSqlFaker\Generation\ValueConstructs a member directly from bounded decisions, without enumerating the value set.

Classes 69§

SqlGenerator @visibility rootSqlFaker\GenerationDerives terminals, rewrites structural constraints, and realizes lexemes once. Dialect definitions supply the syntax and boundary rules; no completed SQL is retried or repaired.
ChoiceLexemeGeneratorSqlFaker\Generation\CandidateThe union of every applicable child's candidates; registration order is stable.
FixedLexemeGeneratorSqlFaker\Generation\CandidateA fixed output element, including an explicit empty output when text is empty.
IntegerLexemeGeneratorSqlFaker\Generation\CandidateAn unsigned decimal scanner domain whose inclusive bounds do not depend on PHP's integer width.
MatchingLexemeGeneratorSqlFaker\Generation\CandidateApplies its child only when its declared terminal or contextual predicate matches.
RegisteredLexemeGeneratorSqlFaker\Generation\CandidateSupplies spellings from a fixed upstream registration table after explicit handler selection.
SequenceLexemeGeneratorSqlFaker\Generation\CandidateA lazy Cartesian product of child outputs, all realizing the same terminal occurrence.
ValueLexemeGeneratorSqlFaker\Generation\CandidateConstructs lexical values from a domain; only caller-supplied spellings need recognition.
VersionCaseSqlFaker\Generation\CandidateAn immutable association of reviewed releases and a shared generator definition.
VersionedLexemeGeneratorSqlFaker\Generation\CandidateBinds one exact release at construction without invoking unselected definitions.
ByteChoices @visibility rootSqlFaker\Generation\ChoiceConsumes input choices while constructing an immutable generation plan.
BytePlanCompilerSqlFaker\Generation\ChoiceDecodes bytes at the plan entry point and returns frozen production and lexical instructions.
PlanBuilderSqlFaker\Generation\ChoiceCompiles choices through the production generation pipeline into immutable instructions.
CoverageException public APISqlFaker\Generation\CoverageReports a measurement infrastructure failure independently of SQL generation.
CoverageSets @visibility rootSqlFaker\Generation\CoverageMaintains idempotent production sets and computes named measurements.
CoverageSnapshotStore @visibility rootSqlFaker\Generation\CoverageOwns atomic snapshot replacement and rejects a second writer for the same key.
GenerationTrace @visibility rootSqlFaker\Generation\CoverageRetains only the latest generation's occurrence paths and diagnostic attempt boundaries.
GeneratorRevision @visibility rootSqlFaker\Generation\CoverageIdentifies development implementations by source contents, never by dev-main alone.
GrammarCoverage public APISqlFaker\Generation\CoverageObserves derivations without influencing generation or consuming randomness.
GrammarCoverageInventory @visibility rootSqlFaker\Generation\CoverageEnumerates the effective grammar before any per-generation restrictions.
LexicalObservationSqlFaker\Generation\CoverageExtracts finite definition features and detailed diagnostics without consuming generation choices.
SequenceObservationSqlFaker\Generation\CoverageSeparates selected grammar occurrences from source subtrees preserved in the emitted sequence.
SnapshotValidation @visibility rootSqlFaker\Generation\CoverageValidates persistence data before it can affect cumulative measurements.
CompletionCosts @visibility rootSqlFaker\Generation\DerivationComputes minimum expansion costs separately for empty and non-empty output.
CompletionFrontierSqlFaker\Generation\DerivationOrders pending completions by their admissible lower bound and prunes equivalent more expensive states.
CompletionMemoSqlFaker\Generation\DerivationReuses exact minima, affordable witnesses and exhausted-budget proofs within one immutable plan.
CompletionReductionSqlFaker\Generation\DerivationEliminates independent subtrees using exact empty/non-empty costs instead of enumerating their derivations.
CompletionStateSqlFaker\Generation\DerivationA leftmost derivation frontier with capped occurrence counters and an output obligation.
ConstrainedCompletionSqlFaker\Generation\DerivationFinds the cheapest completion respecting occurrence-specific patterns and pending siblings. Unconstrained grammar costs are an admissible lower bound, never a claimed constrained minimum.
ConstraintDependenciesSqlFaker\Generation\DerivationFinds exactly which grammar rules can reach a still-constrained occurrence.
Derivation @visibility rootSqlFaker\Generation\DerivationDerives terminals from a common grammar while reserving enough steps to finish the remaining form.
DerivationNode @visibility rootSqlFaker\Generation\DerivationIdentifies an occurrence in a derivation rather than an object in the grammar.
DerivationTraceSqlFaker\Generation\DerivationTracks occurrence identity alongside the sentential form without selecting productions.
TerminationAnalyzer @visibility rootSqlFaker\Generation\DerivationAnswers what it still costs to finish a rule or a production.
TerminationCost @visibility namespaceSqlFaker\Generation\DerivationAnswers the least a rule can cost to finish.
TokenGeneratorSqlFaker\Generation\DerivationDerives grammar terminals without choosing spellings or pruning unsupported lexemes.
CompletionWitnessSqlFaker\Generation\Derivation\CompletionProves cheap feasible continuations before the complete search; a failed probe proves nothing. Every emitted witness actually walks the patterns, budget and output obligation without constructing SQL.
PatternProductionsSqlFaker\Generation\Derivation\CompletionReuses immutable pattern/production matches across all frontiers and occurrences of the same constrained search.
GenerationException public APISqlFaker\Generation\ExceptionReports that a grammar could not derive a statement.
LexicalException public APISqlFaker\Generation\ExceptionReports missing lexical definitions, incompatible candidates and diagnostic tokenizer failures.
LexemeSqlFaker\Generation\LexemeConcrete text and its lexical use, without a decision about surrounding spaces.
LexemeBoundarySqlFaker\Generation\LexemeAdjacent output lexemes, including boundaries inside a compound terminal.
LexemeCandidatesSqlFaker\Generation\LexemeA repeatable lazy candidate stream. An empty stream is distinct from non-applicability.
LexemeInputSqlFaker\Generation\LexemePer-generation input; dialect, version and registration tables belong to the generators.
LexemeSequenceSqlFaker\Generation\LexemeAll lexemes of one candidate, in output order, including any left boundary requirement.
OutputPartSqlFaker\Generation\LexemeA chosen lexeme and its resolved right boundary.
ResolvedOutputSqlFaker\Generation\LexemeImmutable right-hand output with the condition still owed by its left neighbor.
SpacingConstraintSqlFaker\Generation\LexemeAllowed boundary spellings with every contributing rule retained for diagnostics.
BoundaryCompletionSqlFaker\Generation\OutputDischarges explicit left-boundary obligations before a candidate is committed. Traversal stops when the obligation is discharged; it never retries completed SQL.
CandidateResolverSqlFaker\Generation\OutputEvaluates one complete candidate against its internal and external boundaries.
CombinedSpacingRuleSqlFaker\Generation\OutputIntersects applicable constraints without interpreting their dialect-specific conditions.
ReverseLexemeGeneratorSqlFaker\Generation\OutputChooses complete compatible candidates while traversing terminals from right to left.
SqlSerializerSqlFaker\Generation\OutputConcatenates resolved output without formatting or interpreting SQL.
GenerationPlan public APISqlFaker\Generation\PlanAn immutable plan selecting the start rule, productions, lexemes and expansion limits. Plans can be reused without carrying mutable choice cursors between generations.
ProductionPattern @visibility rootSqlFaker\Generation\PlanNarrows a rule to the alternatives a caller will accept.
ProductionOccurrenceSqlFaker\Generation\TokenRecords a selected grammar alternative even when it emits no terminal.
TerminalMappingRuleSqlFaker\Generation\TokenMaps a direct terminal child of one grammar production to a declared contextual domain.
TerminalOccurrenceSqlFaker\Generation\TokenA terminal occurrence, including the productions that introduced it.
TerminalSequenceSqlFaker\Generation\TokenOrdered terminal occurrences; rewriting preserves the original derivation.
TokenRewriterSqlFaker\Generation\TokenApplies a declared, finite sequence of structural rules without interpreting their syntax.
CharacterDomainSqlFaker\Generation\ValueDeclares a bounded sequence of complete character/escape atoms with fixed delimiters.
ChoiceDomainSqlFaker\Generation\ValueDeclares alternative constructive spelling domains, such as quoted and prefixed binary values.
IntegerDomainSqlFaker\Generation\ValueConstructs bounded unsigned decimals by prefix intervals, independent of native integer width.
RandomCharactersSqlFaker\Generation\ValueDraws a fixed number of bytes from a caller-supplied alphabet using Faker. Contains no identifier, literal, quoting or database rules.
RepeatDomainSqlFaker\Generation\ValueRepeats complete compound components, with a bounded sampling count.
SequenceDomainSqlFaker\Generation\ValueDeclares a compound value from independent domains without materializing their Cartesian product.
Utf8SqlFaker\Generation\ValueReads UTF-8 scalar encodings, including the ASCII and three-byte subsets.
ValueChoicesSqlFaker\Generation\ValuePer-plan decisions, memoized so repeated candidate inspection cannot consume more randomness. The caller interprets bytes; domains only receive bounded index decisions.
WordDomainSqlFaker\Generation\ValueA finite spelling choice, including optional empty components.