classSimpleExprWithSimpleExprOrOrSymSimpleExpr_5df05b72
final class SimpleExprWithSimpleExprOrOrSymSimpleExpr_5df05b72
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\SimpleExprWithSimpleExprOrOrSymSimpleExpr_5df05b72 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SimpleExprForm $simpleExprpublic SimpleExprForm $simpleExpr2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SimpleExprForm $simpleExpr,
public SimpleExprForm $simpleExpr2,
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
$simpleExpr | SimpleExprForm | |
$simpleExpr2 | SimpleExprForm | |
$comments | Comments |
Calls 5
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 SimpleExprForm::write() line 39
- method-call Writer::append() line 41
public function withSimpleExpr(SimpleExprForm $simpleExpr): selfReturns a copy with a new simpleExpr, preserving every other field.
Parameters
$simpleExpr | SimpleExprForm |
Returns
selfCalls 1
- new
selfline 51
public function withSimpleExpr2(SimpleExprForm $simpleExpr2): selfReturns a copy with a new simpleExpr2, preserving every other field.
Parameters
$simpleExpr2 | SimpleExprForm |
Returns
selfCalls 1
- new
selfline 59