classAexprConstWithFuncNameSconst_6663db52
final class AexprConstWithFuncNameSconst_6663db52
implements AexprConstForm, AExprForm, BExprForm, CExprForm, CaseArgForm, ExprListForm, FuncArgExprForm, FuncArgListForm, FuncArgListOptForm, GroupByItemForm, GroupByListForm, OptSliceBoundForm, OptTargetListForm, SelectFetchFirstValueForm, SelectLimitValueForm, SelectOffsetValueForm, TargetElForm, TargetListForm, TrimListForm, XmlAttributeElForm, XmlAttributeListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The AexprConst SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\AexprConstWithFuncNameSconst_6663db52 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public FuncNameForm $funcNamepublic SconstForm $sconstpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public FuncNameForm $funcName,
public SconstForm $sconst,
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
$funcName | FuncNameForm | |
$sconst | SconstForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call AexprConstWithFuncNameSconst_6663db52::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 36
- method-call FuncNameForm::write() line 37
- method-call SconstForm::write() line 39
public function withFuncName(FuncNameForm $funcName): selfReturns a copy with a new funcName, preserving every other field.
Parameters
$funcName | FuncNameForm |
Returns
selfCalls 1
- new
selfline 47
public function withSconst(SconstForm $sconst): selfReturns a copy with a new sconst, preserving every other field.
Parameters
$sconst | SconstForm |
Returns
selfCalls 1
- new
selfline 55