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