enumRadix
enum Radix
Public API: explicitly declared with
@visibility public.The two digit systems of a binary string literal: hexadecimal and bit values.
Source: https://dev.mysql.com/doc/refman/8.4/en/hexadecimal-literals.html, https://dev.mysql.com/doc/refman/8.4/en/bit-value-literals.html.
(new \SqlSemantics\Platform\MySql\Statement\Literal\RadixLiteral(\SqlSemantics\Platform\MySql\Statement\Literal\Radix::Bit, '101'))->radix // => \SqlSemantics\Platform\MySql\Statement\Literal\Radix::BitCases§
case Hexadecimalcase BitTest cases 29§
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 28
LiteralRuleTest::testConstantLowersIntroducedRadixLiteralsAndSignedNumberscallsLiteralRuleTest::testTextLowersStringsAtPositionsThatAreNotExpressionscallsNumericContextTest::testClassifyFollowsTheTypeAndTreatsAHexadecimalLiteralAsAnUnsignedIntegercallsNumericResultTest::testBitsIgnoreAHexadecimalLiteralcallsItemNamingTest::testConstantSpellsTheNameArgumentOfNameConstcallsMagnitudesTest::testBytesCountsTheBytesOfEachSpellingcallsJsonExtractionTest::testAHexadecimalPathIsRejectedcallsAtTimeZoneTest::testAHexadecimalZoneIsRejectedcallsConcatenationTest::testDeriveScalarIsABinaryStringWhenAnOperandIscallsRadixLiteralTest::testDeriveScalarAnswersVarBinaryWithoutAnIntroducercallsRadixLiteralTest::testDeriveScalarAnswersVarCharOfTheIntroducedCharacterSetcallsRadixLiteralTest::testRejectsAnUnknownIntroducercallsRadixLiteralTest::testRejectsAnUpperCaseIntroducercallsRadixLiteralTest::testRejectsDigitsOutsideTheBitSystemcallsRadixLiteralTest::testRejectsDigitsOutsideTheHexadecimalSystemcallsTextTest::testLoweredEnumMembersHoldDecodedBytesOrDigitscallsTextTest::testRejectsNonBinaryDigitscallsTextTest::testRejectsNonHexadecimalDigitscallsTextTest::testRenderQuotesBitDigitscallsTextTest::testRenderSpellsHexadecimalDigitsByTheirCountcallsAlterEventTest::testAHexadecimalCommentIsRejectedcallsRoutineCommentTest::testABitTextIsRejectedcallsRoutineCommentTest::testAHexadecimalTextIsRejectedcallsSqlStateTest::testRefusesABitTextcallsSqlStateTest::testRefusesAHexadecimalTextcallsCreateEventTest::testAHexadecimalCommentIsRejectedcallsCreateLoadableFunctionTest::testAHexadecimalLibraryIsRejectedcallsExternalBodyTest::testAHexadecimalCodeIsRejectedcalls
Relations§
Constant reads 15
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:99
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:99
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule::constant() packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:153
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule::constant() packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:154
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule::constant() packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:155
- class-const SqlSemantics\Platform\MySql\Lowering\Leaf\LiteralRule::constant() packages/sql-semantics-mysql/src/Lowering/Leaf/LiteralRule.php:156
- class-const SqlSemantics\Platform\MySql\Rules\Query\ItemNaming::constant() packages/sql-semantics-mysql/src/Rules/Query/ItemNaming.php:166
- class-const SqlSemantics\Platform\MySql\Rules\Server\Magnitudes::bytes() packages/sql-semantics-mysql/src/Rules/Server/Magnitudes.php:52
- class-const SqlSemantics\Platform\MySql\Rules\Server\Magnitudes::bytes() packages/sql-semantics-mysql/src/Rules/Server/Magnitudes.php:53
- class-const SqlSemantics\Platform\MySql\Statement\Literal\RadixLiteral::__construct() packages/sql-semantics-mysql/src/Statement/Literal/RadixLiteral.php:58
- class-const SqlSemantics\Platform\MySql\Statement\Literal\RadixLiteral::render() packages/sql-semantics-mysql/src/Statement/Literal/RadixLiteral.php:82
- class-const SqlSemantics\Platform\MySql\Statement\Literal\Text::__construct() packages/sql-semantics-mysql/src/Statement/Literal/Text.php:40
- class-const SqlSemantics\Platform\MySql\Statement\Literal\Text::__construct() packages/sql-semantics-mysql/src/Statement/Literal/Text.php:41
- class-const SqlSemantics\Platform\MySql\Statement\Literal\Text::render() packages/sql-semantics-mysql/src/Statement/Literal/Text.php:51
- class-const SqlSemantics\Platform\MySql\Statement\Literal\Text::render() packages/sql-semantics-mysql/src/Statement/Literal/Text.php:52