classSelcollistWithSclpScanptExprScanptAs_62f68771
final class SelcollistWithSclpScanptExprScanptAs_62f68771
implements SelcollistForm
uses Assertion
Public API: explicitly declared with
@visibility public.The selcollist SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\Sqlite\Value\SelcollistWithSclpScanptExprScanptAs_62f68771 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SclpForm $sclppublic ScanptForm $scanptpublic ExprForm $exprpublic ScanptForm $scanpt2public AsForm $aspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SclpForm $sclp,
public ScanptForm $scanpt,
public ExprForm $expr,
public ScanptForm $scanpt2,
public AsForm $as,
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
$sclp | SclpForm | |
$scanpt | ScanptForm | |
$expr | ExprForm | |
$scanpt2 | ScanptForm | |
$as | AsForm | |
$comments | Comments |
Calls 3
- new Comments line 28
- method-call SelcollistWithSclpScanptExprScanptAs_62f68771::assert() line 30
- static-call Contracts::contains() line 30
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 5
- method-call Writer::comments() line 42
- method-call SclpForm::write() line 43
- method-call ScanptForm::write() line 45
- method-call ExprForm::write() line 47
- method-call AsForm::write() line 51
public function withSclp(SclpForm $sclp): selfpublic function withScanpt(ScanptForm $scanpt): selfReturns a copy with a new scanpt, preserving every other field.
Parameters
$scanpt | ScanptForm |
Returns
selfCalls 1
- new
selfline 67
public function withExpr(ExprForm $expr): selfpublic function withScanpt2(ScanptForm $scanpt2): selfReturns a copy with a new scanpt2, preserving every other field.
Parameters
$scanpt2 | ScanptForm |
Returns
selfCalls 1
- new
selfline 83
public function withAs(AsForm $as): self