Skip to content

Commit bb647fb

Browse files
Merge pull request #786 from geekygirlsarah/main
Add Bash 3/5 classes
2 parents abf8d78 + d38c2f4 commit bb647fb

File tree

2 files changed

+212
-0
lines changed

2 files changed

+212
-0
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"meta": {
3+
"language": "bash",
4+
"language_version": "3.2",
5+
"language_name": "Bash",
6+
"structure": "classes"
7+
},
8+
"concepts": {
9+
"normal_class": {
10+
"not-implemented": true,
11+
"name": "Normal class"
12+
},
13+
"abstract_class": {
14+
"not-implemented": true,
15+
"name": "Abstract class"
16+
},
17+
"interface": {
18+
"not-implemented": true,
19+
"name": "Interface"
20+
},
21+
"read_only_class": {
22+
"not-implemented": true,
23+
"name": "Read-only class"
24+
},
25+
"static_class": {
26+
"not-implemented": true,
27+
"name": "Static class"
28+
},
29+
"inner_class": {
30+
"not-implemented": true,
31+
"name": "Inner class"
32+
},
33+
"packages": {
34+
"not-implemented": true,
35+
"name": "Packages"
36+
},
37+
"class_with_generic_type": {
38+
"not-implemented": true,
39+
"name": "Class with a generic type"
40+
},
41+
"private_variables": {
42+
"not-implemented": true,
43+
"name": "Defining private variables"
44+
},
45+
"protected_variables": {
46+
"not-implemented": true,
47+
"name": "Defining protected variables"
48+
},
49+
"public_variables": {
50+
"not-implemented": true,
51+
"name": "Defining public variables"
52+
},
53+
"static_variables": {
54+
"not-implemented": true,
55+
"name": "Defining static variables"
56+
},
57+
"private_functions": {
58+
"not-implemented": true,
59+
"name": "Defining private functions"
60+
},
61+
"protected_functions": {
62+
"not-implemented": true,
63+
"name": "Defining protected functions"
64+
},
65+
"public_functions": {
66+
"not-implemented": true,
67+
"name": "Defining public functions"
68+
},
69+
"static_functions": {
70+
"not-implemented": true,
71+
"name": "Defining static functions"
72+
},
73+
"extends_class": {
74+
"not-implemented": true,
75+
"name": "Class that inherits/extends another class"
76+
},
77+
"extending_interface": {
78+
"not-implemented": true,
79+
"name": "Class/Interface that inherits/extends another class/interface"
80+
},
81+
"calling_superclass_functions": {
82+
"not-implemented": true,
83+
"name": "Calling a superclass function"
84+
},
85+
"overriding_superclass_functions": {
86+
"not-implemented": true,
87+
"name": "Overriding a superclass function"
88+
},
89+
"instantiating_object": {
90+
"not-implemented": true,
91+
"name": "Instantiating a new object"
92+
},
93+
"instantiating_polymorphic_object": {
94+
"not-implemented": true,
95+
"name": "Instantiating a polymorphic object"
96+
},
97+
"implement_constructor": {
98+
"not-implemented": true,
99+
"name": "Implementing a class constructor"
100+
},
101+
"implement_deconstructor": {
102+
"not-implemented": true,
103+
"name": "Implementing a class deconstructor"
104+
}
105+
}
106+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"meta": {
3+
"language": "bash",
4+
"language_version": "5.1",
5+
"language_name": "Bash",
6+
"structure": "classes"
7+
},
8+
"concepts": {
9+
"normal_class": {
10+
"not-implemented": true,
11+
"name": "Normal class"
12+
},
13+
"abstract_class": {
14+
"not-implemented": true,
15+
"name": "Abstract class"
16+
},
17+
"interface": {
18+
"not-implemented": true,
19+
"name": "Interface"
20+
},
21+
"read_only_class": {
22+
"not-implemented": true,
23+
"name": "Read-only class"
24+
},
25+
"static_class": {
26+
"not-implemented": true,
27+
"name": "Static class"
28+
},
29+
"inner_class": {
30+
"not-implemented": true,
31+
"name": "Inner class"
32+
},
33+
"packages": {
34+
"not-implemented": true,
35+
"name": "Packages"
36+
},
37+
"class_with_generic_type": {
38+
"not-implemented": true,
39+
"name": "Class with a generic type"
40+
},
41+
"private_variables": {
42+
"not-implemented": true,
43+
"name": "Defining private variables"
44+
},
45+
"protected_variables": {
46+
"not-implemented": true,
47+
"name": "Defining protected variables"
48+
},
49+
"public_variables": {
50+
"not-implemented": true,
51+
"name": "Defining public variables"
52+
},
53+
"static_variables": {
54+
"not-implemented": true,
55+
"name": "Defining static variables"
56+
},
57+
"private_functions": {
58+
"not-implemented": true,
59+
"name": "Defining private functions"
60+
},
61+
"protected_functions": {
62+
"not-implemented": true,
63+
"name": "Defining protected functions"
64+
},
65+
"public_functions": {
66+
"not-implemented": true,
67+
"name": "Defining public functions"
68+
},
69+
"static_functions": {
70+
"not-implemented": true,
71+
"name": "Defining static functions"
72+
},
73+
"extends_class": {
74+
"not-implemented": true,
75+
"name": "Class that inherits/extends another class"
76+
},
77+
"extending_interface": {
78+
"not-implemented": true,
79+
"name": "Class/Interface that inherits/extends another class/interface"
80+
},
81+
"calling_superclass_functions": {
82+
"not-implemented": true,
83+
"name": "Calling a superclass function"
84+
},
85+
"overriding_superclass_functions": {
86+
"not-implemented": true,
87+
"name": "Overriding a superclass function"
88+
},
89+
"instantiating_object": {
90+
"not-implemented": true,
91+
"name": "Instantiating a new object"
92+
},
93+
"instantiating_polymorphic_object": {
94+
"not-implemented": true,
95+
"name": "Instantiating a polymorphic object"
96+
},
97+
"implement_constructor": {
98+
"not-implemented": true,
99+
"name": "Implementing a class constructor"
100+
},
101+
"implement_deconstructor": {
102+
"not-implemented": true,
103+
"name": "Implementing a class deconstructor"
104+
}
105+
}
106+
}

0 commit comments

Comments
 (0)