Changes between Version 3 and Version 4 of MagnoliaCoreNotes
- Timestamp:
- Jul 9, 2009 6:07:00 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MagnoliaCoreNotes
v3 v4 17 17 }}} 18 18 19 B will not appear in the instantiated version. The reason is that everything is a template. 20 19 21 == Structured level == 20 22 … … 30 32 call A.C_Int(foo); 31 33 }}} 34 35 Only "var"s and parameters appear in the resulting type. "def" members usually have argument, they are built only on demand, when there is a expression building an object. For example A is not a member of the root object. When you ask for "A.C_Int(foo)", a "A" is needed. Then it is instantiated then. The "C_Int(foo)" as well and will be marked as child of the new "A". 36 37 The expression "A.C_Int(foo)" results on the instantiation of an object. But this object is also a frame. The "call" ask to call the function according to this frame. 32 38 33 39 == C implementation ==