0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1159: extends argument for class not implemented yet

Problem:    Extends argument for class not implemented yet.
Solution:   Basic implementation of "extends".
This commit is contained in:
Bram Moolenaar
2023-01-08 19:54:10 +00:00
parent 7f8b2559a3
commit 8367716a6e
7 changed files with 279 additions and 21 deletions

View File

@@ -1494,6 +1494,8 @@ struct class_S
int class_refcount;
int class_copyID; // used by garbage collection
class_T *class_extends; // parent class or NULL
// interfaces declared for the class
int class_interface_count;
char_u **class_interfaces; // allocated array of names