visitDeleteStmt method

  1. @override
Uint8List visitDeleteStmt(
  1. DeleteStmt stmt
)
override

Implementation

@override
Uint8List visitDeleteStmt(DeleteStmt stmt) {
  final bytesBuilder = BytesBuilder();
  bytesBuilder.add(_lineInfo(stmt.line, stmt.column));
  bytesBuilder.addByte(HTOpCode.delete);
  bytesBuilder.addByte(DeletingTypeCode.local);
  bytesBuilder.add(_parseIdentifier(stmt.symbol));
  bytesBuilder.addByte(HTOpCode.endOfStmt);
  return bytesBuilder.toBytes();
}