visitReferConstructCallExpr method

  1. @override
String visitReferConstructCallExpr(
  1. RedirectingConstructorCallExpr stmt
)
override

Implementation

@override
String visitReferConstructCallExpr(RedirectingConstructorCallExpr stmt) {
  final output = StringBuffer();
  output.write(stmt.callee.id);
  if (stmt.key != null) {
    output.write('${_lexicon.memberGet}${stmt.key}');
  }
  if (stmt.hasEndOfStmtMark) {
    output.write(_lexicon.endOfStatementMark);
  }
  return output.toString();
}