classSimpleExprWithSimpleIdentJsonUnquotedSeparatorSymTextStringLiteral_b297fedc
final class SimpleExprWithSimpleIdentJsonUnquotedSeparatorSymTextStringLiteral_b297fedc
implements BitExprForm, BoolPriForm, ExprForm, ExprListForm, ExprOrDefaultForm, 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 simple_expr SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SimpleExprWithSimpleIdentJsonUnquotedSeparatorSymTextStringLiteral_b297fedc $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SimpleIdentForm $simpleIdentpublic string $jsonUnquotedSeparatorSympublic TextStringLiteralForm $textStringLiteralpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SimpleIdentForm $simpleIdent,
public string $jsonUnquotedSeparatorSym,
public TextStringLiteralForm $textStringLiteral,
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
$simpleIdent | SimpleIdentForm | |
$jsonUnquotedSeparatorSym | string | |
$textStringLiteral | TextStringLiteralForm | |
$comments | Comments |
Calls 5
- new Comments line 26
- method-call SimpleExprWithSimpleIdentJsonUnquotedSeparatorSymTextStringLiteral_b297fedc::assert() line 28
- static-call Contracts::contains() line 28
- method-call SimpleExprWithSimpleIdentJsonUnquotedSeparatorSymTextStringLiteral_b297fedc::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 SimpleIdentForm::write() line 39
- method-call Writer::append() line 41
- method-call TextStringLiteralForm::write() line 43
public function withSimpleIdent(SimpleIdentForm $simpleIdent): selfReturns a copy with a new simpleIdent, preserving every other field.
Parameters
$simpleIdent | SimpleIdentForm |
Returns
selfCalls 1
- new
selfline 51
public function withJsonUnquotedSeparatorSym(string $jsonUnquotedSeparatorSym): selfReturns a copy with a new jsonUnquotedSeparatorSym, preserving every other field.
Parameters
$jsonUnquotedSeparatorSym | string |
Returns
selfCalls 1
- new
selfline 59
public function withTextStringLiteral(TextStringLiteralForm $textStringLiteral): selfReturns a copy with a new textStringLiteral, preserving every other field.
Parameters
$textStringLiteral | TextStringLiteralForm |
Returns
selfCalls 1
- new
selfline 67