visitExprStmt method

  1. @override
Uint8List visitExprStmt(
  1. ExprStmt stmt
)
override

Implementation

@override
Uint8List visitExprStmt(ExprStmt stmt) {
  final bytesBuilder = BytesBuilder();
  bytesBuilder.add(_lineInfo(stmt.line, stmt.column));
  final bytes = compileAST(stmt.expr);
  bytesBuilder.add(bytes);
  return bytesBuilder.toBytes();
}