classStartEntryWithGrammarSelectorGcolIdentSysExprEndOfInput_5a05b17d
final class StartEntryWithGrammarSelectorGcolIdentSysExprEndOfInput_5a05b17d
implements StartEntryForm
uses Assertion
Public API: explicitly declared with
@visibility public.The start_entry SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\StartEntryWithGrammarSelectorGcolIdentSysExprEndOfInput_5a05b17d $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public string $grammarSelectorGcolpublic IdentSysForm $identSyspublic ExprForm $exprpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public string $grammarSelectorGcol,
public IdentSysForm $identSys,
public ExprForm $expr,
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
$grammarSelectorGcol | string | |
$identSys | IdentSysForm | |
$expr | ExprForm | |
$comments | Comments |
Calls 5
- new Comments line 26
- method-call StartEntryWithGrammarSelectorGcolIdentSysExprEndOfInput_5a05b17d::assertMatchesPattern() line 28
- class-const Contracts::SPELLINGS() line 28
- method-call StartEntryWithGrammarSelectorGcolIdentSysExprEndOfInput_5a05b17d::assert() line 29
- static-call Contracts::contains() 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 IdentSysForm::write() line 41
- method-call ExprForm::write() line 45
public function withGrammarSelectorGcol(string $grammarSelectorGcol): selfReturns a copy with a new grammarSelectorGcol, preserving every other field.
Parameters
$grammarSelectorGcol | string |
Returns
selfCalls 1
- new
selfline 56
public function withIdentSys(IdentSysForm $identSys): selfReturns a copy with a new identSys, preserving every other field.
Parameters
$identSys | IdentSysForm |
Returns
selfCalls 1
- new
selfline 64
public function withExpr(ExprForm $expr): self