classFunctionCallConflictWithWeightStringSymExprAsCharSymWsNumCodepoints_3ab7b46c
final class FunctionCallConflictWithWeightStringSymExprAsCharSymWsNumCodepoints_3ab7b46c
implements BitExprForm, BoolPriForm, ExprForm, ExprListForm, ExprOrDefaultForm, FunctionCallConflictForm, GeneratedColumnFuncForm, GroupListForm, GroupingExprForm, InstallSetRvalueForm, OptExprForm, OptExprListForm, OptSpCparamsForm, OptValuesForm, OrderIdentForm, PartFuncExprForm, PartFuncMaxForm, PartValueExprItemForm, PartValueItemForm, PartValueItemListForm, PartValueListForm, PartValuesInForm, PredicateForm, SetExprOrDefaultForm, SimpleExprForm, SpCparamsForm, ValuesForm
uses Assertion
Public API: explicitly declared with
@visibility public.The function_call_conflict SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\FunctionCallConflictWithWeightStringSymExprAsCharSymWsNumCodepoints_3ab7b46c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic string $charSympublic WsNumCodepointsForm $wsNumCodepointspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public string $charSym,
public WsNumCodepointsForm $wsNumCodepoints,
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
$expr | ExprForm | |
$charSym | string | |
$wsNumCodepoints | WsNumCodepointsForm | |
$comments | Comments |
Calls 5
- new Comments line 26
- method-call FunctionCallConflictWithWeightStringSymExprAsCharSymWsNumCodepoints_3ab7b46c::assert() line 28
- static-call Contracts::contains() line 28
- method-call FunctionCallConflictWithWeightStringSymExprAsCharSymWsNumCodepoints_3ab7b46c::assertMatchesPattern() line 29
- class-const Contracts::SPELLINGS() line 29
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 38
- method-call Writer::append() line 39
- method-call ExprForm::write() line 43
- method-call WsNumCodepointsForm::write() line 49
public function withExpr(ExprForm $expr): selfpublic function withCharSym(string $charSym): selfReturns a copy with a new charSym, preserving every other field.
Parameters
$charSym | string |
Returns
selfCalls 1
- new
selfline 67
public function withWsNumCodepoints(WsNumCodepointsForm $wsNumCodepoints): selfReturns a copy with a new wsNumCodepoints, preserving every other field.
Parameters
$wsNumCodepoints | WsNumCodepointsForm |
Returns
selfCalls 1
- new
selfline 75