classPredicateWithBitExprNotRegexpBitExpr_100c3f18
final class PredicateWithBitExprNotRegexpBitExpr_100c3f18
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\PredicateWithBitExprNotRegexpBitExpr_100c3f18 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BitExprForm $bitExprpublic NotForm $notpublic string $regexppublic BitExprForm $bitExpr2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BitExprForm $bitExpr,
public NotForm $not,
public string $regexp,
public BitExprForm $bitExpr2,
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 | |
$regexp | string | |
$bitExpr2 | BitExprForm | |
$comments | Comments |
Calls 7
- new Comments line 27
- method-call PredicateWithBitExprNotRegexpBitExpr_100c3f18::assert() line 29
- static-call Contracts::contains() line 29
- method-call PredicateWithBitExprNotRegexpBitExpr_100c3f18::assertOperandBindingStrength() line 30
- class-const Contracts::BINDING_POWERS() line 30
- method-call PredicateWithBitExprNotRegexpBitExpr_100c3f18::assertMatchesPattern() line 32
- class-const Contracts::SPELLINGS() line 32
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 42
- method-call BitExprForm::write() line 43
- method-call NotForm::write() line 45
- method-call Writer::append() line 47
public function withBitExpr(BitExprForm $bitExpr): selfReturns a copy with a new bitExpr, preserving every other field.
Parameters
$bitExpr | BitExprForm |
Returns
selfCalls 1
- new
selfline 57
public function withNot(NotForm $not): selfpublic function withRegexp(string $regexp): selfReturns a copy with a new regexp, preserving every other field.
Parameters
$regexp | string |
Returns
selfCalls 1
- new
selfline 73
public function withBitExpr2(BitExprForm $bitExpr2): selfReturns a copy with a new bitExpr2, preserving every other field.
Parameters
$bitExpr2 | BitExprForm |
Returns
selfCalls 1
- new
selfline 81