visitAllNamedExpressions method
void
visitAllNamedExpressions(
- List<
NamedExpr> ? expressions, - EmitterVisitorContext ctx,
- String seperator, {
- bool alwaysAddSeperator = false,
Implementation
void visitAllNamedExpressions(
List<o.NamedExpr>? expressions,
EmitterVisitorContext ctx,
String seperator, {
bool alwaysAddSeperator = false,
}) {
if (expressions == null || expressions.isEmpty) {
return;
}
if (alwaysAddSeperator) {
ctx.print(seperator);
}
for (var ast in expressions) {
ctx.print('${ast.name}: ');
ast.expr.visitExpression(this, ctx);
ctx.print(seperator);
}
}