classLexicalSettings
final class LexicalSettings
uses Snapshot
Public API: explicitly declared with
@visibility public.Explicit lexical switches implemented by the shipped MySQL parser.
These do not infer runtime SQL modes or database session state. Other semantic session inputs must be declared separately when a rule needs them.
(new \SqlSemantics\Platform\PostgreSql\Model\Contract\LexicalSettings('ANSI_QUOTES'))->ansiQuotes // => trueProperties§
public bool $ansiQuotesDouble quotes delimit identifiers rather than strings.
public bool $pipesAsConcatThe double-pipe operator requests concatenation.
public bool $highNotPrecedenceNOT uses its higher-precedence grammar interpretation.
public bool $noBackslashEscapesBackslashes remain ordinary characters in quoted strings.
public bool $ignoreSpaceFunction names may be separated from their opening parenthesis.
Methods§
public function __construct(string $settings = '')Accepts explicit canonical lexer flags; unknown flags are configuration errors.
Parameters
$settings | string |
Calls 4
- function-call
explodeline 49 - static-call Check::input() line 51
- function-call
array_diffline 51 - function-call
in_arrayline 52
public function equals(self $other): boolCompares closed immutable flags, independently of input order or duplication.
Parameters
$other | self |
Returns
boolCalled from 2
- method-call SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::__construct() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:36
- method-call SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::compatibleWith() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:46
Relations§
Instantiated in 3
- new SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::__construct() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:33
- new SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::__construct() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:36
- new SqlSemantics\Platform\PostgreSql\Platform::profile() packages/sql-semantics-postgres/src/Platform.php:80
Method calls 2
- method-call SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::__construct() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:36
- method-call SqlSemantics\Platform\PostgreSql\Model\Contract\LanguageProfile::compatibleWith() packages/sql-semantics-postgres/src/Model/Contract/LanguageProfile.php:46