classSubstrListWithAExprSimilarAExprEscapeAExpr_1ad97a08
final class SubstrListWithAExprSimilarAExprEscapeAExpr_1ad97a08
implements SubstrListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The substr_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\SubstrListWithAExprSimilarAExprEscapeAExpr_1ad97a08 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AExprForm $aExprpublic AExprForm $aExpr2public AExprForm $aExpr3public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AExprForm $aExpr,
public AExprForm $aExpr2,
public AExprForm $aExpr3,
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.
Calls 3
- new Comments line 26
- method-call SubstrListWithAExprSimilarAExprEscapeAExpr_1ad97a08::assert() line 28
- static-call Contracts::contains() line 28
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 38
- method-call AExprForm::write() line 39
- method-call Writer::append() line 41
public function withAExpr(AExprForm $aExpr): selfpublic function withAExpr2(AExprForm $aExpr2): selfpublic function withAExpr3(AExprForm $aExpr3): self