classPredicateWithBitExprMemberSymOptOfSimpleExpr_03ad03f3
final class PredicateWithBitExprMemberSymOptOfSimpleExpr_03ad03f3
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\PredicateWithBitExprMemberSymOptOfSimpleExpr_03ad03f3 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BitExprForm $bitExprpublic OptOfForm $optOfpublic SimpleExprForm $simpleExprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BitExprForm $bitExpr,
public OptOfForm $optOf,
public SimpleExprForm $simpleExpr,
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 | |
$optOf | OptOfForm | |
$simpleExpr | SimpleExprForm | |
$comments | Comments |
Calls 5
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 BitExprForm::write() line 40
- method-call Writer::append() line 42
- method-call OptOfForm::write() line 44
- method-call SimpleExprForm::write() line 48
public function withBitExpr(BitExprForm $bitExpr): selfReturns a copy with a new bitExpr, preserving every other field.
Parameters
$bitExpr | BitExprForm |
Returns
selfCalls 1
- new
selfline 58
public function withOptOf(OptOfForm $optOf): selfpublic function withSimpleExpr(SimpleExprForm $simpleExpr): selfReturns a copy with a new simpleExpr, preserving every other field.
Parameters
$simpleExpr | SimpleExprForm |
Returns
selfCalls 1
- new
selfline 74