classExprWithExprLtGtGeLeExpr_c64bb14c
final class ExprWithExprLtGtGeLeExpr_c64bb14c
implements CaseOperandForm, ExprForm, ExprlistForm, NexprlistForm
uses Assertion
Public API: explicitly declared with
@visibility public.The expr SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\ExprWithExprLtGtGeLeExpr_c64bb14c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic string $ltGtGeLepublic ExprForm $expr2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public string $ltGtGeLe,
public ExprForm $expr2,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Calls 7
- new Comments line 26
- method-call ExprWithExprLtGtGeLeExpr_c64bb14c::assert() line 28
- static-call Contracts::contains() line 28
- method-call ExprWithExprLtGtGeLeExpr_c64bb14c::assertOperandBindingStrength() line 29
- class-const Contracts::BINDING_POWERS() line 29
- method-call ExprWithExprLtGtGeLeExpr_c64bb14c::assertMatchesPattern() line 30
- class-const Contracts::SPELLINGS() line 30
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 40
- method-call ExprForm::write() line 41
- method-call Writer::append() line 43
public function withExpr(ExprForm $expr): selfpublic function withLtGtGeLe(string $ltGtGeLe): selfReturns a copy with a new ltGtGeLe, preserving every other field.
Parameters
$ltGtGeLe | string |
Returns
selfCalls 1
- new
selfline 61
public function withExpr2(ExprForm $expr2): self