classBoolPriWithBoolPriEqualSymPredicate_6b5f755a
final class BoolPriWithBoolPriEqualSymPredicate_6b5f755a
implements BoolPriForm, ExprForm, ExprListForm, ExprOrDefaultForm, GeneratedColumnFuncForm, GroupListForm, GroupingExprForm, InstallSetRvalueForm, OptExprForm, OptExprListForm, OptSpCparamsForm, OptValuesForm, OrderIdentForm, SetExprOrDefaultForm, SpCparamsForm, ValuesForm
uses Assertion
Public API: explicitly declared with
@visibility public.The bool_pri SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\BoolPriWithBoolPriEqualSymPredicate_6b5f755a $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BoolPriForm $boolPripublic PredicateForm $predicatepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BoolPriForm $boolPri,
public PredicateForm $predicate,
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
$boolPri | BoolPriForm | |
$predicate | PredicateForm | |
$comments | Comments |
Calls 5
- new Comments line 25
- method-call BoolPriWithBoolPriEqualSymPredicate_6b5f755a::assert() line 27
- static-call Contracts::contains() line 27
- method-call BoolPriWithBoolPriEqualSymPredicate_6b5f755a::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 38
- method-call BoolPriForm::write() line 39
- method-call Writer::append() line 41
- method-call PredicateForm::write() line 43
public function withBoolPri(BoolPriForm $boolPri): selfReturns a copy with a new boolPri, preserving every other field.
Parameters
$boolPri | BoolPriForm |
Returns
selfCalls 1
- new
selfline 51
public function withPredicate(PredicateForm $predicate): selfReturns a copy with a new predicate, preserving every other field.
Parameters
$predicate | PredicateForm |
Returns
selfCalls 1
- new
selfline 59