classComparisonOperator
final class ComparisonOperator
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Comparison operator for the supported UPSERT expression grammar.
Methods§
public function __construct(private ExpressionCursor $cursor)Shares the token position with the enclosing expression parser.
Parameters
$cursor | ExpressionCursor |
public function comparisonOperator(): ?UpsertExpressionKindComparison operator.
Returns
Throws
Test cases 2
Called from 1
Calls 9
- method-call ExpressionLexeme::isSymbol() line 31
- new ExpressionLexeme line 31
- class-const UpsertExpressionKind::Equal() line 43
- class-const UpsertExpressionKind::NotEqual() line 44
- class-const UpsertExpressionKind::Less() line 45
- class-const UpsertExpressionKind::LessOrEqual() line 46
- class-const UpsertExpressionKind::Greater() line 47
- class-const UpsertExpressionKind::GreaterOrEqual() line 48
- new UnsupportedSqlException line 49
Private surface 1§
Implementation details, listed for orientation only.
private ExpressionCursor $cursorTest cases 10§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 8
PgSqlSessionFactoryTestcallsPgSqlRewriterTestcallsStatementRewriterTestcallsRowMutationResolverTestcallsPrecedenceParserTestcallsPrimaryParserTestcallsPgSqlUpsertExpressionParserTestcallsPgSqlMutationResolverTestcalls