classFunctionCallConflictWithWeightStringSymExprAsCharSymWsNweightsOptWsLevels_7df3f811
final class FunctionCallConflictWithWeightStringSymExprAsCharSymWsNweightsOptWsLevels_7df3f811
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\FunctionCallConflictWithWeightStringSymExprAsCharSymWsNweightsOptWsLevels_7df3f811 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ExprForm $exprpublic string $charSympublic WsNweightsForm $wsNweightspublic OptWsLevelsForm $optWsLevelspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ExprForm $expr,
public string $charSym,
public WsNweightsForm $wsNweights,
public OptWsLevelsForm $optWsLevels,
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 | |
$wsNweights | WsNweightsForm | |
$optWsLevels | OptWsLevelsForm | |
$comments | Comments |
Calls 5
- new Comments line 27
- method-call FunctionCallConflictWithWeightStringSymExprAsCharSymWsNweightsOptWsLevels_7df3f811::assert() line 29
- static-call Contracts::contains() line 29
- method-call FunctionCallConflictWithWeightStringSymExprAsCharSymWsNweightsOptWsLevels_7df3f811::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 5
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call ExprForm::write() line 45
- method-call WsNweightsForm::write() line 51
- method-call OptWsLevelsForm::write() line 53
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 71
public function withWsNweights(WsNweightsForm $wsNweights): selfReturns a copy with a new wsNweights, preserving every other field.
Parameters
$wsNweights | WsNweightsForm |
Returns
selfCalls 1
- new
selfline 79
public function withOptWsLevels(OptWsLevelsForm $optWsLevels): selfReturns a copy with a new optWsLevels, preserving every other field.
Parameters
$optWsLevels | OptWsLevelsForm |
Returns
selfCalls 1
- new
selfline 87