enumWordQuote
enum WordQuote
Public API: explicitly declared with
@visibility public.How a word is delimited at a position where SQLite reads the written text and not only the name.
Source: https://sqlite.org/lang_keywords.html.
$create = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('CREATE TABLE t (a "big int")');
$create->statement->columns[0]->type->words[0]->quote // => \SqlSemantics\Platform\Sqlite\Statement\Lexical\WordQuote::DoubleCases§
case Barecase Singlecase Doublecase Backtickcase BracketTest cases 19§
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 18
WordRuleTest::testNameReadsAnIdentifierOrAStringTokencallsWordRuleTest::testWordKeepsTheQuotingOfTheTokencallsTypeNameRuleTest::testWordsKeepTheQuotingOfEachWordcallsTypeRecordingTest::testDomainKeepsOnlyTheFirstQuotedRunOfATextThatStartsWithAQuotecallsTypeRecordingTest::testDomainKeepsTheQuotesOfAWordThatIsNotFirstcallsTypeRecordingTest::testDomainRecognizesAStandardTypeAlsoWhenItIsOneQuotedWordcallsWordTest::testBareTellsAnUnquotedWordFromAQuotedOnecallsWordTest::testIsNeverMatchesAQuotedWordcallsWordTest::testRenderWritesTheWordWithItsOwnQuotingcallsWordTest::testSpellingDoublesTheEmbeddedClosingDelimitercallsDefaultWordTest::testTruthIsNullForATextDefaultcallsGeneratedTest::testStorageIsNullForAnyOtherWordAndForAQuotedWordcallsUnknownTableOptionTest::testMessageSpellsTheWordAsWrittencallsTableOptionTest::testKindIsNullForEveryOtherWordAndForAQuotedWordcallsTableOptionTest::testRenderWritesTheWordWithItsQuotingcallsTypeNameTest::testAffinityOfAQuotedFirstWordUsesThatWordOnlycallsTypeNameTest::testTextKeepsOnlyTheFirstWordWhenItIsQuotedcallsTypeNameTest::testTextKeepsTheQuotesOfAWordThatIsNotFirstcalls
Relations§
Constant reads 21
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\WordRule packages/sql-semantics-sqlite/src/Lowering/Definition/WordRule.php:30
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\WordRule packages/sql-semantics-sqlite/src/Lowering/Definition/WordRule.php:30
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\WordRule packages/sql-semantics-sqlite/src/Lowering/Definition/WordRule.php:30
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\WordRule packages/sql-semantics-sqlite/src/Lowering/Definition/WordRule.php:30
- class-const SqlSemantics\Platform\Sqlite\Lowering\Definition\WordRule::word() packages/sql-semantics-sqlite/src/Lowering/Definition/WordRule.php:44
- class-const SqlSemantics\Platform\Sqlite\Lowering\Leaf\TypeNameRule packages/sql-semantics-sqlite/src/Lowering/Leaf/TypeNameRule.php:34
- class-const SqlSemantics\Platform\Sqlite\Lowering\Leaf\TypeNameRule packages/sql-semantics-sqlite/src/Lowering/Leaf/TypeNameRule.php:34
- class-const SqlSemantics\Platform\Sqlite\Lowering\Leaf\TypeNameRule packages/sql-semantics-sqlite/src/Lowering/Leaf/TypeNameRule.php:34
- class-const SqlSemantics\Platform\Sqlite\Lowering\Leaf\TypeNameRule packages/sql-semantics-sqlite/src/Lowering/Leaf/TypeNameRule.php:34
- class-const SqlSemantics\Platform\Sqlite\Lowering\Leaf\TypeNameRule::words() packages/sql-semantics-sqlite/src/Lowering/Leaf/TypeNameRule.php:76
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::__construct() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:46
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::__construct() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:48
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::__construct() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:49
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::bare() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:57
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::spelling() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:74
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::spelling() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:75
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::spelling() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:76
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::spelling() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:77
- class-const SqlSemantics\Platform\Sqlite\Statement\Lexical\Word::spelling() packages/sql-semantics-sqlite/src/Statement/Lexical/Word.php:78
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Column\DefaultWord::__construct() packages/sql-semantics-sqlite/src/Statement/Schema/Column/DefaultWord.php:42
- class-const SqlSemantics\Platform\Sqlite\Statement\Schema\Column\Generated::__construct() packages/sql-semantics-sqlite/src/Statement/Schema/Column/Generated.php:52