classPredicateWithBitExprInSymExpr_88828ec7
final class PredicateWithBitExprInSymExpr_88828ec7
implements BoolPriForm, ExprForm, ExprListForm, ExprOrDefaultForm, GeneratedColumnFuncForm, GroupListForm, GroupingExprForm, InstallSetRvalueForm, OptExprForm, OptExprListForm, OptSpCparamsForm, OptValuesForm, OrderIdentForm, PredicateForm, SetExprOrDefaultForm, SpCparamsForm, ValuesForm
uses Assertion
Public API: explicitly declared with
@visibility public.The predicate SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\PredicateWithBitExprInSymExpr_88828ec7 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BitExprForm $bitExprpublic ExprForm $exprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BitExprForm $bitExpr,
public ExprForm $expr,
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
$bitExpr | BitExprForm | |
$expr | ExprForm | |
$comments | Comments |
Calls 5
- new Comments line 25
- method-call PredicateWithBitExprInSymExpr_88828ec7::assert() line 27
- static-call Contracts::contains() line 27
- method-call PredicateWithBitExprInSymExpr_88828ec7::assertOperandBindingStrength() line 28
- class-const Contracts::BINDING_POWERS() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 37
- method-call BitExprForm::write() line 38
- method-call Writer::append() line 40
- method-call ExprForm::write() line 44
public function withBitExpr(BitExprForm $bitExpr): selfReturns a copy with a new bitExpr, preserving every other field.
Parameters
$bitExpr | BitExprForm |
Returns
selfCalls 1
- new
selfline 54
public function withExpr(ExprForm $expr): self