visitBreakStmt method

  1. @override
Uint8List visitBreakStmt(
  1. BreakStmt stmt
)
override

Implementation

@override
Uint8List visitBreakStmt(BreakStmt stmt) {
  final bytesBuilder = BytesBuilder();
  bytesBuilder.addByte(HTOpCode.breakLoop);
  bytesBuilder.addByte(HTOpCode.endOfStmt);
  return bytesBuilder.toBytes();
}