-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKeywordsList.txt
52 lines (39 loc) · 2.2 KB
/
KeywordsList.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
define - precedes the declaration of any top level structure.
abstract - part of the definition of a top level structure or
function. This indicates that this particular structure or
function cannot be instantiated but must be implemented
by either another top level structure or a function. Functions
implementing abstract methods must be preceded by the implements
keyword
class - indicates a top-level class container structure that
can be instantiated as an object unless it is preceded by the
abstract keyword
@public - indicates public members of a class
@private - indicates private members of a class
@protected - indicates non-public but sub-class accessible
members of a class
@ports - used to define ports within a Kernel object, only valid
when used within something that sub-classes a Kernel. If used
outside of a Kernel sub-class this will throw an exception
final - when used as a modifier to a class, prevents any sub-classing
of the class, its invalid for use as a modifier to a template or an
abstract class that cannot be instantiated without sub-classing. Methods
may use final to indicate that sub-classes cannot override this particular
function. Final may also be used to prevent a method from being
overridden.
system - you'll only see this in system function declaration stubs, these
classes and functions are defined by the runtime in native code, they're
not extendable by the user at the moment.
extends - indicates that a class inherits public and protected
members from the class name which follows this keyword
implements - can be used in two manners. The first is in a
class declaration indicating that this class implements a given
interface, the second is in a function declaration where the
user is explicitly required to state that the function declaration
implements an inherited abstract method or interface method.
overrides - keyword within a function declaration to indicate
if a function overrides a method within a super-class, required
for overriding both abstract and implemented super-class methods.
autogen - keyword that indicates automatic synthesis of access
functions for private variables. The functions are named in the
following way: get_variable_name, set_variable_name.