classPredicateWithBitExprRegexpBitExpr_8fdc7629
final class PredicateWithBitExprRegexpBitExpr_8fdc7629
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\PredicateWithBitExprRegexpBitExpr_8fdc7629 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public BitExprForm $bitExprpublic string $regexppublic BitExprForm $bitExpr2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public BitExprForm $bitExpr,
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 | |
$regexp | string | |
$bitExpr2 | BitExprForm | |
$comments | Comments |
Calls 7
- new Comments line 26
- method-call PredicateWithBitExprRegexpBitExpr_8fdc7629::assert() line 28
- static-call Contracts::contains() line 28
- method-call PredicateWithBitExprRegexpBitExpr_8fdc7629::assertOperandBindingStrength() line 29
- class-const Contracts::BINDING_POWERS() line 29
- method-call PredicateWithBitExprRegexpBitExpr_8fdc7629::assertMatchesPattern() line 30
- class-const Contracts::SPELLINGS() line 30
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 40
- method-call BitExprForm::write() line 41
- method-call Writer::append() line 43
public function withBitExpr(BitExprForm $bitExpr): selfReturns a copy with a new bitExpr, preserving every other field.
Parameters
$bitExpr | BitExprForm |
Returns
selfCalls 1
- new
selfline 53
public function withRegexp(string $regexp): selfReturns a copy with a new regexp, preserving every other field.
Parameters
$regexp | string |
Returns
selfCalls 1
- new
selfline 61
public function withBitExpr2(BitExprForm $bitExpr2): selfReturns a copy with a new bitExpr2, preserving every other field.
Parameters
$bitExpr2 | BitExprForm |
Returns
selfCalls 1
- new
selfline 69