classVariableSpacingRule
final class VariableSpacingRule
implements SpacingRule
sql/sql_lex.cc MY_LEX_USER_END, MY_LEX_HOSTNAME and MY_LEX_SYSTEM_VAR consume adjacent input.
Methods§
public function apply(LexemeBoundary $boundary, LexemeInput $input): ?SpacingConstraintJoins an at-sign with its successor, retaining normal spacing before the variable or account.
Parameters
$boundary | LexemeBoundary | |
$input | LexemeInput |
Returns
Test cases 1
Calls 2
- new SpacingConstraint line 26
- class-const SpacingConstraint::JOIN() line 26
Test cases 10§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 9
LexicalExceptionTestcallsGenerationContextTestcallsCharsetValueLexemeGeneratorTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsMySqlProviderTestcallsPostgreSqlProviderTestcallsSqlGeneratorFactoryTestcallsSqliteProviderTestcalls