classExprWithExprInOpLpSelectRp_a20110e2
final class ExprWithExprInOpLpSelectRp_a20110e2
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\ExprWithExprInOpLpSelectRp_a20110e2 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic InOpForm $inOppublic SelectForm $selectpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public InOpForm $inOp,
public SelectForm $select,
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.
Parameters
$expr | ExprForm | |
$inOp | InOpForm | |
$select | SelectForm | |
$comments | Comments |
Calls 5
- new Comments line 26
- method-call ExprWithExprInOpLpSelectRp_a20110e2::assert() line 28
- static-call Contracts::contains() line 28
- method-call ExprWithExprInOpLpSelectRp_a20110e2::assertOperandBindingStrength() line 29
- class-const Contracts::BINDING_POWERS() line 29
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 39
- method-call ExprForm::write() line 40
- method-call InOpForm::write() line 42
- method-call Writer::append() line 44
- method-call SelectForm::write() line 46
public function withExpr(ExprForm $expr): selfpublic function withInOp(InOpForm $inOp): selfpublic function withSelect(SelectForm $select): selfReturns a copy with a new select, preserving every other field.
Parameters
$select | SelectForm |
Returns
selfCalls 1
- new
selfline 72