All items 298

Interfaces 9§

BisonDeclaration @visibility rootSqlFaker\Compiler\Bison\AstMarker interface for Bison declaration nodes.
BisonDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads the arguments of one kind of Bison declaration.
BisonScanner @visibility rootSqlFaker\Compiler\Bison\LexerOne state of the Bison lexer, selected by the character it starts on.
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.
Symbol @visibility rootSqlFaker\Grammar\ModelRepresents a symbol in a formal grammar.

Classes 284§

MySqlProvider public APISqlFakerFaker Provider for generating syntactically valid MySQL SQL statements.
PostgreSqlProvider public APISqlFakerFaker Provider for generating syntactically valid PostgreSQL SQL statements.
SqliteProvider public APISqlFakerFaker Provider for generating syntactically valid SQLite SQL statements.
GrammarParseException @visibility rootSqlFaker\CompilerReports that grammar source text could not be turned into a grammar.
UnknownSymbolException @visibility rootSqlFaker\CompilerThrown when a symbol in the AST is neither a rule name nor a declared token.
BisonParser @visibility rootSqlFaker\Compiler\BisonReads a GNU Bison or Yacc grammar file into an AST.
BisonPreamble @visibility rootSqlFaker\Compiler\BisonEverything a grammar file states before its rules.
BisonPreambleReader @visibility rootSqlFaker\Compiler\BisonReads the declarations section of a Bison grammar.
BisonStartSymbol @visibility rootSqlFaker\Compiler\BisonDecides which rule a derivation begins from.
GrammarCompiler @visibility rootSqlFaker\Compiler\BisonCompiles a Grammar from a BisonAst.
BisonAlternativeNode @visibility rootSqlFaker\Compiler\Bison\AstRepresents a single alternative in a grammar rule.
BisonAst @visibility rootSqlFaker\Compiler\Bison\AstRoot AST node representing a complete Bison grammar file.
BisonDefineDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %define declaration.
BisonExpectDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %expect declaration.
BisonParamDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %parse-param or %lex-param declaration.
BisonPrecedenceDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %left, %right, or %nonassoc declaration.
BisonRuleNode @visibility rootSqlFaker\Compiler\Bison\AstRepresents a grammar rule definition.
BisonStartDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %start declaration.
BisonSymbolNode @visibility rootSqlFaker\Compiler\Bison\AstA symbol on the right-hand side of one rule alternative.
BisonTokenDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %token declaration.
BisonTokenDefinition @visibility rootSqlFaker\Compiler\Bison\AstOne terminal declared by a %token directive.
BisonTypeDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents a %type declaration.
BisonUnknownDeclaration @visibility rootSqlFaker\Compiler\Bison\AstRepresents an unknown or unsupported directive.
BisonDeclarationBoundary @visibility rootSqlFaker\Compiler\Bison\DirectiveDecides where one declaration stops and the next thing starts.
BisonDirectiveReaderChain @visibility rootSqlFaker\Compiler\Bison\DirectiveRoutes a directive to the reader that knows its arguments.
DefineDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %define, which sets a named option of the generated parser.
ExpectDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %expect, the count of shift/reduce conflicts the author accepts.
ParamDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %parse-param and %lex-param, which add arguments to the generated parser and scanner.
PrecedenceDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads the four directives that rank operators against each other.
StartDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %start, which names the rule a derivation begins from.
TokenDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %token, which names the terminals the scanner may hand the parser.
TypeDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads %type, which gives rules the semantic type their values carry.
UnknownDirectiveReader @visibility rootSqlFaker\Compiler\Bison\DirectiveReads any directive no other reader knows.
ActionScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes a brace-delimited semantic action.
BisonLexer @visibility rootSqlFaker\Compiler\Bison\LexerTurns Bison grammar source into a stream of tokens, one call at a time.
BisonScannerChain @visibility rootSqlFaker\Compiler\Bison\LexerChooses which scanner owns the character under the cursor.
BisonToken @visibility rootSqlFaker\Compiler\Bison\LexerOne lexeme read out of a Bison grammar file.
BisonTokenStream @visibility rootSqlFaker\Compiler\Bison\LexerAdds lookahead to a Bison lexer.
BisonTrivia @visibility rootSqlFaker\Compiler\Bison\LexerThe text between two lexemes that carries no token of its own.
DirectiveScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes the three lexemes a percent sign can open.
IdentifierScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes a symbol name.
NumberScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes a decimal number.
PunctuationScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes a single punctuation character.
QuotedLiteralScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes a quoted literal.
SourceCursor @visibility rootSqlFaker\Compiler\Bison\LexerA moving read position over grammar source text.
TypeTagScanner @visibility rootSqlFaker\Compiler\Bison\LexerConsumes an angle-bracketed semantic type tag such as <num>.
BisonAlternativeDraft @visibility rootSqlFaker\Compiler\Bison\RuleThe alternative currently being read.
BisonAlternativeReader @visibility rootSqlFaker\Compiler\Bison\RuleReads the alternatives on the right-hand side of one rule.
BisonRuleReader @visibility rootSqlFaker\Compiler\Bison\RuleReads the rules section of a Bison grammar.
LemonConditionSqlFaker\Compiler\LemonEvaluates the named boolean conditions used by Lemon's preprocess_input. tool/lemon.c short-circuits a sequence from left to right; parentheses provide grouping.
LemonDirectives @visibility rootSqlFaker\Compiler\LemonReads the tokens a Lemon grammar declares before any rule is written.
LemonParser @visibility rootSqlFaker\Compiler\LemonReads Lemon source declarations and production rules into a grammar.
LemonPreprocessorSqlFaker\Compiler\LemonSelects source branches using the %if/%ifdef/%ifndef/%else/%endif directives from tool/lemon.c.
LemonRules @visibility rootSqlFaker\Compiler\LemonReads the rules a Lemon grammar writes.
LemonSymbols @visibility rootSqlFaker\Compiler\LemonRemembers which names a Lemon grammar uses as tokens and which as rules.
LemonText @visibility rootSqlFaker\Compiler\LemonRemoves from a Lemon file everything that is not grammar.
ArtifactDirectory @visibility parentSqlFaker\Compiler\ResourceAnswers which directory a generated artifact is written into.
GrammarWriterSqlFaker\Compiler\ResourcePublishes one generated AST; lexical declarations are maintained in source code.
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.
Grammar @visibility rootSqlFaker\Grammar\ModelRepresents a formal grammar for SQL generation.
NonTerminal @visibility rootSqlFaker\Grammar\ModelRepresents a non-terminal symbol in a formal grammar.
Production @visibility rootSqlFaker\Grammar\ModelRepresents a single production (right-hand side) in a grammar rule.
ProductionRule @visibility rootSqlFaker\Grammar\ModelRepresents a production rule in a formal grammar.
Terminal @visibility rootSqlFaker\Grammar\ModelRepresents a terminal symbol in a formal grammar.
TerminalInventory @visibility rootSqlFaker\Grammar\ModelExtracts every terminal required by a compiled grammar resource.
SqlVersion @visibility rootSqlFaker\Grammar\ResourceA supported SQL release and its grammar AST; lexical rules are declared in PHP.
SqlVersionRegistry @visibility parentSqlFaker\Grammar\ResourceResolves supported releases and their generated grammar AST paths. Lexical definitions for these same releases are reviewed PHP declarations.
GenerationContext @visibility rootSqlFaker\MySql\GenerationBinds the MySql grammar and lexical declarations to the common SQL generation engine.
GenerationPlans @visibility rootSqlFaker\MySql\GenerationNames the generation plans this dialect's provider is built from.
LexicalGrammar @visibility rootSqlFaker\MySql\GenerationMySQL lexical generation using source-based candidate and boundary definitions. Tokenization is exposed separately for diagnostics and does not decide generation success.
StartRuleResolver @visibility rootSqlFaker\MySql\GenerationResolves MySQL rule names across grammar releases.
BoundedIntegerLexemeGeneratorSqlFaker\MySql\Generation\LexemeRestricts MySQL decimal and hexadecimal forms to a source-defined nonnegative 31-bit interval.
CharsetLexemeGeneratorSqlFaker\MySql\Generation\Lexemesql_yacc.yy literal actions require introduced bytes to be well formed in the selected character set.
CharsetValueLexemeGeneratorSqlFaker\MySql\Generation\Lexemesql_yacc.yy literal actions impose charset validity on introduced string, hex and bit values.
DefinitionFactorySqlFaker\MySql\Generation\LexemeDeclares scanner values, fixed spellings, contextual domains and spacing for each exact release. Source tags match every MySQL release in resources/version.php; lex.h links accompany the keyword declarations. Create_field::init is in field.cc for MySQL 5.6/5.7 and create_field.cc for MySQL 8.x/9.x.
FactorLexemeGeneratorSqlFaker\MySql\Generation\Lexemesql_yacc.yy/factor accepts exactly 2 or 3; paired ALTER USER factors differ and ADD factors ascend.
KeywordLexemeGeneratorSqlFaker\MySql\Generation\LexemeImplements lex.h registration classes and sql_lex.cc find_keyword/function lookahead. A SYM_FN spelling needs an opening parenthesis when used as a function.
LexicalDefinitionSqlFaker\MySql\Generation\LexemeCarries one lexical composition and its tokenizer and token-budget metadata.
PrecisionLexemeGeneratorSqlFaker\MySql\Generation\LexemeCreate_field::init requires M >= D; my_decimal_trim gives (0,0) its default precision.
ReplicationTablePatternLexemeGeneratorSqlFaker\MySql\Generation\Lexemesql_yacc.yy:filter_wild_db_table_string requires a dot and forbids line feeds after get_text decoding.
SizeNumberLexemeGeneratorSqlFaker\MySql\Generation\LexemeSupplies identifier-form sizes accepted by sql_yacc.yy:size_number, with a 31-bit magnitude prefix.
AlterDatabaseRuleSqlFaker\MySql\Generation\Rewritesql/sql_yacc.yy ident_or_empty and alter_database_options compete for an initial option keyword that is also allowed as an identifier.
AlterEventRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy/alter_event_stmt requires at least one event alteration after its name.
ConstraintEnforcementRuleSqlFaker\MySql\Generation\Rewritesql/sql_yacc.yy column_attribute_list allows enforcement only immediately after a CHECK attribute.
FlushExportRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy/opt_flush_lock requires a table list for FOR EXPORT, but not for WITH READ LOCK.
GeneratedColumnRuleSqlFaker\MySql\Generation\Rewriteparse_tree_column_attrs.h rejects SERIAL and storage/default attributes on generated fields.
InstanceActionRuleSqlFaker\MySql\Generation\RewriteImplements the contextual identifier checks in sql_yacc.yy/alter_instance_action and opt_source_count.
IntegerContextRuleSqlFaker\MySql\Generation\RewriteCompletes source-defined integer contexts in sql_yacc.yy, including diagnostic decimal alternatives.
IntoClauseRuleSqlFaker\MySql\Generation\RewritePT_subquery rejects INTO in subqueries; sql_lex.cc/new_set_operation_query allows it only in the final SELECT. sql_yacc.yy/view_query_block disables SELECT destinations throughout a view definition.
LoadSourceCountRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy/opt_source_count requires the identifier COUNT and a nonzero NUM value.
RequiredAliasRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy marks derived-table and JSON_TABLE aliases optional solely to provide a targeted diagnostic.
RewriteDefinitionsSqlFaker\MySql\Generation\RewriteDeclares structural repairs of MySQL parser diagnostic alternatives and ambiguity.
RoleGrantRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy/grant and revoke share privilege syntax, but PT_grant_roles requires role identifiers without ON.
SetNamesRuleSqlFaker\MySql\Generation\Rewritesql/sql_yacc.yy option_value_no_option_type declares NAMES equal expr solely to reject it.
SubqueryContextRuleSqlFaker\MySql\Generation\RewritePT_subquery and partition contextualization forbid subqueries in these statement expressions.
TransactionCompletionRuleSqlFaker\MySql\Generation\Rewritesql_yacc.yy commit/rollback reject simultaneous affirmative CHAIN and RELEASE.
OrderByRuleSqlFaker\MySql\Generation\Rewrite\Altersql_yacc.yy alter_order_list shifts comma plus identifier before reducing alter_list. Keeping ORDER BY last prevents a following nonreserved action from becoming an order item.
AutoIncrementRuleSqlFaker\MySql\Generation\Rewrite\Columncreate_field.cc/Create_field::init permits AUTO_INCREMENT only for integer storage types.
FieldLengthRuleSqlFaker\MySql\Generation\Rewrite\Columncreate_field.cc/Create_field::init checks display widths after the scanner accepts field_length.
ConcatenationRuleSqlFaker\MySql\Generation\Rewrite\ExpressionDefault SQL mode scans || as OR2_SYM; the OR_OR_SYM production constructs Item_func_concat. Preserve its operands and precedence by expressing that production as a native function call.
ExpressionGroupingRuleSqlFaker\MySql\Generation\Rewrite\ExpressionPreserves derived operand grouping where the source grammar permits parenthesized expressions. This also prevents non-associative operators from being serialized as forbidden flat chains.
QuantifiedComparisonRuleSqlFaker\MySql\Generation\Rewrite\Expressionsql_yacc.yy:bool_pri explicitly rejects null-safe equality before ALL or ANY.
TableValueConstructorRuleSqlFaker\MySql\Generation\Rewrite\Expressionsql_resolver.cc disallows empty rows and DEFAULT outside an INSERT table value constructor.
HostNameRuleSqlFaker\MySql\Generation\Rewrite\Namesql_lex.cc enters MY_LEX_HOSTNAME only after a single at sign, including account and user-variable names.
SystemVariableRuleSqlFaker\MySql\Generation\Rewrite\Namesql_lex.cc/MY_LEX_SYSTEM_VAR accepts an identifier or backtick immediately after the second at-sign.
UniqueOptionRuleSqlFaker\MySql\Generation\Rewrite\OptionApplies a source-defined uniqueness condition within one grammar scope.
DefinitionRuleSqlFaker\MySql\Generation\Rewrite\PartitionPT_part_definition requires one partition kind for the list; PT_partition checks its declared count.
FieldListRuleSqlFaker\MySql\Generation\Rewrite\Partitionsql_const.h:MAX_REF_PARTS limits partition and subpartition field lists to sixteen names.
ListValueRuleSqlFaker\MySql\Generation\Rewrite\Partitionparse_tree_partitions.cc/PT_part_value_item_max forbids MAXVALUE in a VALUES IN list.
ValueArityRuleSqlFaker\MySql\Generation\Rewrite\Partitionparse_tree_partitions.cc requires a common value width, and two or more fields for LIST rows. Runs after kind selection, expression grouping and scalar-list disambiguation.
ValueShapeSqlFaker\MySql\Generation\Rewrite\PartitionModels the scalar and row value lists of sql_yacc.yy:part_values_in and part_func_max.
JoinGroupingRuleSqlFaker\MySql\Generation\Rewrite\Querysql_yacc.yy:joined_table defers conditionless joins; joined_table_parens preserves each derived join operand.
QueryContextRuleSqlFaker\MySql\Generation\Rewrite\Querysql_lex.cc restricts query options; sql_yacc.yy provides AS to disambiguate CREATE query sources.
WindowFrameRuleSqlFaker\MySql\Generation\Rewrite\QueryPreserves the frame boundary ordering and interval units required by window.cc.
StartRuleSqlFaker\MySql\Generation\Rewrite\Replicationsql_yacc.yy requires the IO thread when START REPLICA/SLAVE supplies authentication options.
TablePatternRuleSqlFaker\MySql\Generation\Rewrite\ReplicationMaps replication table filters to the string domain checked by sql_yacc.yy.
LanguageRuleSqlFaker\MySql\Generation\Rewrite\Routinesql_yacc.yy/stored_routine_body requires a non-SQL language for AS strings and SQL for statement bodies.
ReturnRuleSqlFaker\MySql\Generation\Rewrite\Routinesql_yacc.yy/sp_proc_stmt_return permits RETURN only in stored functions.
CloneAddressSpacingRuleSqlFaker\MySql\Generation\Spacingsql/sql_yacc.yy clone_stmt checks the raw token positions on both sides of the port colon.
FunctionSpacingRuleSqlFaker\MySql\Generation\Spacingsql/sql_lex.cc MY_LEX_IDENT: SYM_FN lookup requires a directly following parenthesis.
KeywordPhraseSpacingRuleSqlFaker\MySql\Generation\SpacingPreserves word boundaries inside explicitly declared compound keyword candidates.
QualifiedNameSpacingRuleSqlFaker\MySql\Generation\Spacingsql/sql_lex.cc MY_LEX_IDENT_SEP / MY_LEX_IDENT_START: preserves qualified-name adjacency.
VariableSpacingRuleSqlFaker\MySql\Generation\Spacingsql/sql_lex.cc MY_LEX_USER_END, MY_LEX_HOSTNAME and MY_LEX_SYSTEM_VAR consume adjacent input.
KeywordIndex @visibility rootSqlFaker\MySql\Generation\TokenizationTurns a terminal's spellings into a lookup from spelling to terminal.
MySqlQuoting @visibility rootSqlFaker\MySql\Generation\TokenizationEncodes chosen text using MySQL quoting rules, independently of generation.
MySqlTokenizer @visibility rootSqlFaker\MySql\Generation\TokenizationReads MySQL text back into the parser tokens the server would produce.
DollarQuotedDomainSqlFaker\MySql\Generation\ValueReuses one chosen tag at both boundaries; the declared body alphabet excludes dollars.
IdentifierDomainSqlFaker\MySql\Generation\ValueScanner start/continuation alphabets with a safe sampling prefix for generated names.
LiteralGenerator @visibility rootSqlFaker\MySql\Generation\ValueGenerates MySql literal bodies for the bounded lexical API.
QuotedDomainSqlFaker\MySql\Generation\ValueOne quoted scanner state: delimiter, optional prefix, doubling and optional backslash escapes.
RadixDomainSqlFaker\MySql\Generation\ValuePrefixed and quoted radix literals. Whole-byte sampling is a charset constraint; the same lexical declaration reads ordinary and explicitly requested bytes.
MySqlGrammar @visibility rootSqlFaker\MySql\GrammarMySQL grammar loader.
GenerationContext @visibility rootSqlFaker\PostgreSql\GenerationBinds the PostgreSql grammar and lexical declarations to the common SQL generation engine.
GenerationPlans @visibility rootSqlFaker\PostgreSql\GenerationNames the generation plans this dialect's provider is built from.
LexicalGrammar @visibility rootSqlFaker\PostgreSql\GenerationPostgreSQL lexical generation using source-based candidate and boundary definitions. Tokenization is exposed separately for diagnostics and does not decide generation success.
DefinitionFactorySqlFaker\PostgreSql\Generation\LexemeDeclares scanner values, fixed spellings, contextual domains and spacing for PostgreSQL 17.2. Source tag REL_17_2 matches pg-17.2 in resources/version.php.
HashBoundLexemeGeneratorSqlFaker\PostgreSql\Generation\LexemeImplements the modulus/remainder name checks in PostgreSQL 17.2 gram.y/PartitionBoundSpec.
KeywordLexemeGeneratorSqlFaker\PostgreSql\Generation\LexemeCombines kwlist.h registrations with parser.c/base_yylex's required followers for lookahead tokens.
LexicalDefinitionSqlFaker\PostgreSql\Generation\LexemeCarries one lexical composition and its tokenizer and token-budget metadata.
PgLookahead @visibility rootSqlFaker\PostgreSql\Generation\LookaheadThe token substitutions PostgreSQL's parser frontend makes by looking ahead.
ConstraintAttributesRuleSqlFaker\PostgreSql\Generation\Rewritegram.y/ConstraintAttributeSpec rejects three conflicting pairs of accumulated option bits.
CopySourceRuleSqlFaker\PostgreSql\Generation\RewriteImplements gram.y/CopyStmt: PROGRAM needs a filename and COPY TO cannot carry a WHERE clause.
FetchWithTiesRuleSqlFaker\PostgreSql\Generation\RewriteCompletes FETCH WITH TIES ordering in gram.y/insertSelectOptions and PLpgSQL_Expr.
GeneratedColumnRuleSqlFaker\PostgreSql\Generation\Rewritegram.y ColConstraintElem requires GENERATED ALWAYS for expressions; IDENTITY also permits BY DEFAULT.
HashPartitionBoundRuleSqlFaker\PostgreSql\Generation\RewriteSupplies exactly the two named bounds required by gram.y/PartitionBoundSpec.
LimitOffsetRuleSqlFaker\PostgreSql\Generation\RewriteReplaces gram.y's always-error LIMIT value,value diagnostic alternative with LIMIT/OFFSET.
LookaheadRuleSqlFaker\PostgreSql\Generation\RewriteSettles parser.c/base_yylex aliases after the grammar's otherwise ambiguous followers have been selected.
OperatorArgumentsRuleSqlFaker\PostgreSql\Generation\RewriteREL_17_2 gram.y oper_argtypes rejects a lone type and prescribes NONE for a missing unary argument.
OverlapsArgumentsRuleSqlFaker\PostgreSql\Generation\RewriteImplements gram.y's two-argument row requirement for each side of OVERLAPS.
PublicationObjectRuleSqlFaker\PostgreSql\Generation\RewriteResolves the table/schema continuation state checked by gram.y/preprocess_pubobj_list.
RewriteDefinitionsSqlFaker\PostgreSql\Generation\RewriteDeclares PostgreSQL structural rules by their original grammar scope.
TimeZoneIntervalRuleSqlFaker\PostgreSql\Generation\RewriteImplements gram.y/zone_value's HOUR and MINUTE interval-mask restriction.
WindowFrameRuleSqlFaker\PostgreSql\Generation\RewriteImplements the frame_extent rejection conditions in PostgreSQL 17.2 gram.y.
ConstraintCapabilitiesRuleSqlFaker\PostgreSql\Generation\Rewrite\ColumnprocessCASbits permits attributes according to the non-null output pointers at each call site.
ForeignKeyActionRuleSqlFaker\PostgreSql\Generation\Rewrite\Columnkey_update rejects SET NULL/DEFAULT column lists; key_delete permits them.
IdentityOptionRuleSqlFaker\PostgreSql\Generation\Rewrite\Columngram.y:alter_identity_column_option excludes AS, RESTART and OWNED BY after SET.
NumericContextRuleSqlFaker\PostgreSql\Generation\Rewrite\Columngram.y bounds FLOAT precision and ALTER COLUMN's positional form before parse analysis.
ExpressionGroupingRuleSqlFaker\PostgreSql\Generation\Rewrite\ExpressionPreserves derived operand grouping where the source grammar permits parenthesized expressions. This also prevents non-associative operators from being serialized as forbidden flat chains.
AliasRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y/relation_expr_opt_alias reduces before SET unless the alias has an explicit AS.
AnyRelationNameRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y/makeRangeVarFromAnyName limits composite type relation names to three components.
ColumnNameRuleSqlFaker\PostgreSql\Generation\Rewrite\Nameparse_expr.c and parse_target.c allow up to four ColumnRef fields before subscripting.
FunctionNameRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y/check_func_name accepts String name components, excluding A_Star and A_Indices. catalog/namespace.c DeconstructQualifiedName limits function lookup to three components.
IndirectionStarRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y/makeColumnRef and check_indirection allow a star only at the end of its own chain.
ParserNameRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y restricts partition strategies, JSON encodings, and literal role names beyond their grammar productions.
RelationNameRuleSqlFaker\PostgreSql\Generation\Rewrite\Namegram.y/makeRangeVarFromQualifiedName accepts at most three String components, without star or subscripts.
UniqueOptionRuleSqlFaker\PostgreSql\Generation\Rewrite\OptionApplies a source-defined uniqueness condition within one grammar scope.
IntoClauseRuleSqlFaker\PostgreSql\Generation\Rewrite\Queryanalyze.c:transformOptionalSelectInto accepts INTO only on a top-level query's leftmost SELECT.
ParserOptionsRuleSqlFaker\PostgreSql\Generation\Rewrite\QueryRemoves options forbidden by the trigger/view grammar actions, scoped to their direct owner.
SchemaElementsRuleSqlFaker\PostgreSql\Generation\Rewrite\QueryCREATE SCHEMA with IF NOT EXISTS cannot contain schema elements.
SelectOptionsRuleSqlFaker\PostgreSql\Generation\Rewrite\Querygram.y:insertSelectOptions merges parenthesized query options into the same SelectStmt.
AggregateArgumentRuleSqlFaker\PostgreSql\Generation\Rewrite\RoutineAggregate arguments cannot have output modes; ordered-set direct VARIADIC types need coordinated lists.
JsonOptionsRuleSqlFaker\PostgreSql\Generation\Rewrite\RoutineApplies syntax-level SQL/JSON option restrictions from parse_expr.c/transformJsonFuncExpr.
JsonTablePathRuleSqlFaker\PostgreSql\Generation\Rewrite\Routinejson_table requires an A_Const containing a string, even though its RHS accepts a_expr.
RangeFunctionOrdinalityRuleSqlFaker\PostgreSql\Generation\Rewrite\Routineparse_clause.c:transformRangeFunction disallows ordinality beside a top-level column definition list.
SubstringRuleSqlFaker\PostgreSql\Generation\Rewrite\Routinegram.y:substr_list uses SIMILAR/ESCAPE as argument separators, also accepted inside a_expr.
TableFunctionRuleSqlFaker\PostgreSql\Generation\Rewrite\Routinegram.y:mergeTableFuncParameters permits only default, IN or VARIADIC input modes.
TypeModifierRuleSqlFaker\PostgreSql\Generation\Rewrite\Routinegram.y:AexprConst reuses function arguments for type modifiers but rejects names and ordering.
WithinGroupRuleSqlFaker\PostgreSql\Generation\Rewrite\Routinegram.y:func_expr forbids inner ordering, DISTINCT and VARIADIC with WITHIN GROUP.
KeywordIndex @visibility rootSqlFaker\PostgreSql\Generation\TokenizationTurns a terminal's spellings into a lookup from spelling to terminal.
PgQuoting @visibility rootSqlFaker\PostgreSql\Generation\TokenizationEncodes chosen text using PostgreSQL quoting rules, independently of generation.
PgTokenizer @visibility rootSqlFaker\PostgreSql\Generation\TokenizationReads PostgreSQL text back into the parser tokens the server would produce.
DollarQuotedDomainSqlFaker\PostgreSql\Generation\ValueReuses one chosen tag at both boundaries; the declared body alphabet excludes dollars.
IdentifierDomainSqlFaker\PostgreSql\Generation\ValueScanner start/continuation alphabets with a safe sampling prefix for generated names.
LiteralGenerator @visibility rootSqlFaker\PostgreSql\Generation\ValueGenerates PostgreSql literal bodies for the bounded lexical API.
OperatorDomainSqlFaker\PostgreSql\Generation\ValueScanner operator runs with explicit fixed-token and comment boundaries.
QuotedDomainSqlFaker\PostgreSql\Generation\ValueOne quoted scanner state: delimiter, optional prefix, doubling and optional backslash escapes.
PgGrammar @visibility rootSqlFaker\PostgreSql\GrammarPostgreSQL grammar loader.
SqlGeneratorFactory @visibility rootSqlFaker\ProviderAssembles the dialect collaborators used by the Faker providers.
GenerationContext @visibility rootSqlFaker\Sqlite\GenerationBinds the Sqlite grammar and lexical declarations to the common SQL generation engine.
GenerationPlans @visibility rootSqlFaker\Sqlite\GenerationNames the generation plans this dialect's provider is built from.
GrammarAdaptation @visibility rootSqlFaker\Sqlite\GenerationExposes statement aliases for SQLite's cmd alternatives without filtering the upstream grammar.
LexicalGrammar @visibility rootSqlFaker\Sqlite\GenerationSQLite lexical generation using source-based candidate and boundary definitions. Tokenization is exposed separately for diagnostics and does not decide generation success.
DefinitionFactorySqlFaker\Sqlite\Generation\LexemeDeclares scanner values, fixed spellings, contextual domains and spacing for SQLite 3.47.2. Source tag version-3.47.2 matches sqlite-3.47.2 in resources/version.php.
JoinLexemeGeneratorSqlFaker\Sqlite\Generation\LexemeRealizes JOIN_KW registrations under the complete join-type condition from select.c/sqlite3JoinType.
JoinModifiersSqlFaker\Sqlite\Generation\LexemeThe word flags and validity conditions in SQLite 3.47.2 select.c/sqlite3JoinType.
LexicalDefinitionSqlFaker\Sqlite\Generation\LexemeCarries one lexical composition and its tokenizer and token-budget metadata.
WindowNameLexemeGeneratorSqlFaker\Sqlite\Generation\Lexemetokenize.c getToken excludes INDEXED although parse.y idj allows it as a name. Quoting that spelling keeps WINDOW/OVER recognized by their scanner lookahead.
CompoundSelectRuleSqlFaker\Sqlite\Generation\Rewriteparse.y:parserDoubleLinkSelect permits ORDER BY and LIMIT only on the final compound operand.
FunctionArgumentRuleSqlFaker\Sqlite\Generation\RewriteSQLite 3.47.2 expr.c:sqlite3ExprFunction enforces sqliteLimit.h's default 127 arguments.
GeneratedColumnRuleSqlFaker\Sqlite\Generation\Rewritebuild.c:sqlite3AddGenerated permits one generated expression without a DEFAULT on the same column.
IdentifierListRuleSqlFaker\Sqlite\Generation\Rewriteparse.y/parserAddExprIdListTerm only accepts COLLATE and sort order while loading legacy schemas.
JoinRuleSqlFaker\Sqlite\Generation\RewriteDeclares the word domain checked by select.c/sqlite3JoinType and the source-list condition on ON/USING.
RewriteDefinitionsSqlFaker\Sqlite\Generation\RewriteDeclares SQLite parser conditions without removing their original grammar alternatives.
StrictTableRuleSqlFaker\Sqlite\Generation\RewriteImplements sqlite3EndTable's STRICT column-type restriction using global.c/sqlite3StdType.
TableOptionRuleSqlFaker\Sqlite\Generation\Rewriteversion-3.47.2 parse.y table_option recognizes the ID spelling STRICT and WITHOUT ROWID.
UpsertSourceRuleSqlFaker\Sqlite\Generation\Rewriteparse.y:on_using resolves ON in favor of a JOIN until a SELECT clause separates the UPSERT.
WindowFrameRuleSqlFaker\Sqlite\Generation\RewriteImplements the relative boundary order required by window.c/sqlite3WindowAlloc.
WithoutRowidRuleSqlFaker\Sqlite\Generation\RewriteImplements the required PRIMARY KEY and forbidden AUTOINCREMENT conditions in build.c/sqlite3EndTable.
ExpressionGroupingRuleSqlFaker\Sqlite\Generation\Rewrite\ExpressionPreserves derived operand grouping where the source grammar permits parenthesized expressions. This also prevents non-associative operators from being serialized as forbidden flat chains.
KeywordIndex @visibility rootSqlFaker\Sqlite\Generation\TokenizationTurns a terminal's spellings into a lookup from spelling to terminal.
SqliteQuoting @visibility rootSqlFaker\Sqlite\Generation\TokenizationEncodes chosen text using SQLite quoting rules, independently of generation.
SqliteTokenizer @visibility rootSqlFaker\Sqlite\Generation\TokenizationReads SQLite text back into the parser tokens the server would produce.
IdentifierDomainSqlFaker\Sqlite\Generation\ValueScanner start/continuation alphabets with a safe sampling prefix for generated names.
LiteralGenerator @visibility rootSqlFaker\Sqlite\Generation\ValueGenerates Sqlite literal bodies for the bounded lexical API.
QuotedDomainSqlFaker\Sqlite\Generation\ValueOne quoted scanner state: delimiter, optional prefix, doubling and optional backslash escapes.
SqliteGrammar @visibility rootSqlFaker\Sqlite\GrammarSQLite grammar loader.

Enums 5§

BisonSymbolForm @visibility rootSqlFaker\Compiler\Bison\AstHow a symbol was written on the right-hand side of a rule.
BisonLexeme @visibility rootSqlFaker\Compiler\Bison\LexerThe kinds of lexeme a Bison grammar file is written from.
StatementRule public APISqlFaker\MySql\GenerationStatement start rules available to MySQL SQL generation.
StatementRule public APISqlFaker\PostgreSql\GenerationStatement start rules available to PostgreSQL SQL generation.
StatementRule public APISqlFaker\Sqlite\GenerationStatement start rules available to SQLite SQL generation.