classSyntaxGuard
final class SyntaxGuard
Restricted visibility: declared "@visibility SqlSemantics". Code outside that scope must not name this declaration.
Refuses semantic constructs that this implementation cannot account for.
Methods§
public static function select(Node $statement, Node $select, SyntaxRules $syntax): voidRejects unmodeled clauses in a SELECT grammar production.
Parameters
$statement | Node | |
$select | Node | |
$syntax | SyntaxRules |
Called from 1
Calls 8
- static-call Tree::assertChildren() line 22
- method-call SyntaxRules::nodes() line 22
- method-call Node::find() line 25
- static-call Tree::unsupported() line 27
- static-call Tree::outer() line 31
- function-call
strtoupperline 32 - static-call Tree::text() line 32
- function-call
in_arrayline 33
Test cases 60§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
SyntaxGuardTestcalls
Other tests reaching this symbol 59
SchemaAnalyzerTestcallsColumnPropertiesTestcallsColumnReaderTestcallsConstraintReaderTestcallsIdentifiersTestcallsSchemaChangesTestcallsSchemaReaderTestcallsStatementListTestcallsTokenGroupsTestcallsTreeTestcallsTypeReaderTestcallsBinderTestcallsBoundRelationTestcallsExpressionBinderTestcallsExpressionRulesTestcallsFromBinderTestcallsIdentitySequenceTestcallsLiteralBinderTestcallsNullFactsTestcallsProjectionBinderTestcallsScopeTestcallsSelectBinderTestcallsSelectModifiersBinderTestcallsTableResolverTestcallsTypeResolutionTestcallsDialectTestcallsBoundSelectTestcallsColumnBindingTestcallsExpressionKindTestcallsExpressionTestcallsJoinKindTestcallsJoinTestcallsOrderingTestcallsOutputColumnTestcallsTableUseTestcallsPlatformTestcallsNameRulesTestcallsQueryRulesTestcallsSchemaRulesTestcallsSyntaxRulesTestcallsTypeRulesTestcallsColumnDefinitionTestcallsColumnGenerationTestcallsConstraintKindTestcallsGenerationKindTestcallsInvariantTestcallsTableConstraintTestcallsTableDefinitionTestcallsSchemaBuilderTestcallsSchemaTestcallsSemanticExceptionTestcallsNullabilityTestcallsTypeDescriptorTestcallsSchemaTestcallsNameRulesTestcallsPlatformTestcallsQueryRulesTestcallsSchemaRulesTestcallsTypeRulesTestcalls