classFunctionSpacingRule
final class FunctionSpacingRule
implements SpacingRule
sql/sql_lex.cc MY_LEX_IDENT: SYM_FN lookup requires a directly following parenthesis.
Methods§
public function apply(LexemeBoundary $boundary, LexemeInput $input): ?SpacingConstraintApplies the chosen lexeme's use rather than inferring function names from their text.
Parameters
$boundary | LexemeBoundary | |
$input | LexemeInput |
Returns
Test cases 1
Calls 3
- new SpacingConstraint line 29
- class-const SpacingConstraint::JOIN() line 29
- class-const SpacingConstraint::SPACE() line 32
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