MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / swap_tail

Method swap_tail

src/ast/ast.cpp:2140–2147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2138 // ExprOp1
2139
2140 bool ExprOp1::swap_tail ( Expression * expr, Expression * swapExpr ) {
2141 if ( subexpr==expr ) {
2142 subexpr = swapExpr;
2143 return true;
2144 } else {
2145 return subexpr->swap_tail(expr,swapExpr);
2146 }
2147 }
2148
2149 ExpressionPtr ExprOp1::visit(Visitor & vis) {
2150 vis.preVisit(this);

Callers 3

yyparseFunction · 0.80
yyparseFunction · 0.80
ast_lpipeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected