classReplicationTablePatternLexemeGenerator
final class ReplicationTablePatternLexemeGenerator
implements LexemeGenerator
sql_yacc.yy:filter_wild_db_table_string requires a dot and forbids line feeds after get_text decoding.
Methods§
public function generate(LexemeInput $input): ?LexemeCandidatesKeeps the original quoted spelling while validating the source action's decoded string conditions.
Parameters
$input | LexemeInput |
Returns
Test cases 22
ReplicationTablePatternLexemeGeneratorTest::testGenerateKeepsDefaultPatternsAndOrdinaryStringsSeparatecovers and callsReplicationTablePatternLexemeGeneratorTest::testGeneratePreservesExplicitCandidateProvenancecovers and callsReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpellingcallsReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#0coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#1coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#10coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#11coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#12coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#13coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#14coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#15coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#16coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#17coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#18coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#2coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#3coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#4coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#5coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#6coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#7coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#8coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#9covers
Calls 5
- method-call LexemeInput::terminal() line 27
- method-call ReplicationTablePatternLexemeGenerator::accepts() line 32
- new LexemeSequence line 33
- new Lexeme line 34
- static-call LexemeCandidates::of() line 38
public function accepts(string $spelling): boolDecodes escapes affecting dot, newline and NUL checks; strcont examines the C-string prefix.
Parameters
$spelling | string |
Returns
boolTest cases 41
ReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValuecallsReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#0coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#1coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#10coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#11coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#12coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#13coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#14coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#15coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#16coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#17coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#18coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#2coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#3coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#4coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#5coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#6coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#7coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#8coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#9coversReplicationTablePatternLexemeGeneratorTest::testGenerateKeepsDefaultPatternsAndOrdinaryStringsSeparatecoversReplicationTablePatternLexemeGeneratorTest::testGeneratePreservesExplicitCandidateProvenancecoversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#0coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#1coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#10coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#11coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#12coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#13coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#14coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#15coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#16coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#17coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#18coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#2coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#3coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#4coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#5coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#6coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#7coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#8coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#9covers
Called from 1
Calls 6
- new QuotedDomain line 46
- function-call
in_arrayline 47 - function-call
strlenline 47 - method-call QuotedDomain::match() line 47
- function-call
explodeline 62 - function-call
str_containsline 63
Test cases 51§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 42
ReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValuecallsReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#0coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#1coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#10coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#11coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#12coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#13coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#14coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#15coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#16coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#17coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#18coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#2coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#3coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#4coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#5coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#6coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#7coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#8coversReplicationTablePatternLexemeGeneratorTest::testAcceptsValidatesTheDecodedParserValue#9coversReplicationTablePatternLexemeGeneratorTest::testGenerateKeepsDefaultPatternsAndOrdinaryStringsSeparatecovers and callsReplicationTablePatternLexemeGeneratorTest::testGeneratePreservesExplicitCandidateProvenancecovers and callsReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpellingcallsReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#0coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#1coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#10coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#11coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#12coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#13coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#14coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#15coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#16coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#17coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#18coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#2coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#3coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#4coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#5coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#6coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#7coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#8coversReplicationTablePatternLexemeGeneratorTest::testGenerateValidatesDecodedPatternsWithoutChangingTheirSpelling#9covers
Other tests reaching this symbol 9
LexicalExceptionTestcallsGenerationContextTestcallsCharsetValueLexemeGeneratorTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls