classExprWithExprStarSlashRemExpr_6ca99fe8
final class ExprWithExprStarSlashRemExpr_6ca99fe8
implements CaseOperandForm, ExprForm, ExprlistForm, NexprlistForm
uses Assertion
Public API: explicitly declared with
@visibility public.The expr SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\ExprWithExprStarSlashRemExpr_6ca99fe8 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic string $starSlashRempublic ExprForm $expr2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public string $starSlashRem,
public ExprForm $expr2,
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.
Calls 7
- new Comments line 26
- method-call ExprWithExprStarSlashRemExpr_6ca99fe8::assert() line 28
- static-call Contracts::contains() line 28
- method-call ExprWithExprStarSlashRemExpr_6ca99fe8::assertOperandBindingStrength() line 29
- class-const Contracts::BINDING_POWERS() line 29
- method-call ExprWithExprStarSlashRemExpr_6ca99fe8::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 ExprForm::write() line 41
- method-call Writer::append() line 43
public function withExpr(ExprForm $expr): selfpublic function withStarSlashRem(string $starSlashRem): selfReturns a copy with a new starSlashRem, preserving every other field.
Parameters
$starSlashRem | string |
Returns
selfCalls 1
- new
selfline 61
public function withExpr2(ExprForm $expr2): selfTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.