classPredicateWithBitExprNotLikeSimpleExprOptEscape_ae900c15
final class PredicateWithBitExprNotLikeSimpleExprOptEscape_ae900c15
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\PredicateWithBitExprNotLikeSimpleExprOptEscape_ae900c15 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BitExprForm $bitExprpublic NotForm $notpublic SimpleExprForm $simpleExprpublic OptEscapeForm $optEscapepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BitExprForm $bitExpr,
public NotForm $not,
public SimpleExprForm $simpleExpr,
public OptEscapeForm $optEscape,
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 | |
$not | NotForm | |
$simpleExpr | SimpleExprForm | |
$optEscape | OptEscapeForm | |
$comments | Comments |
Calls 5
- new Comments line 27
- method-call PredicateWithBitExprNotLikeSimpleExprOptEscape_ae900c15::assert() line 29
- static-call Contracts::contains() line 29
- method-call PredicateWithBitExprNotLikeSimpleExprOptEscape_ae900c15::assertOperandBindingStrength() line 30
- class-const Contracts::BINDING_POWERS() line 30
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 41
- method-call BitExprForm::write() line 42
- method-call NotForm::write() line 44
- method-call Writer::append() line 46
- method-call SimpleExprForm::write() line 48
- method-call OptEscapeForm::write() line 50
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 withNot(NotForm $not): 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
public function withOptEscape(OptEscapeForm $optEscape): selfReturns a copy with a new optEscape, preserving every other field.
Parameters
$optEscape | OptEscapeForm |
Returns
selfCalls 1
- new
selfline 82