|
@ -32,7 +32,7 @@ const TOC = |
|
|
|
|
|
|
|
|
const DIAGRAM_1_A = |
|
|
const DIAGRAM_1_A = |
|
|
'+---------+-------------+\n' + |
|
|
'+---------+-------------+\n' + |
|
|
'| classes | metaclasses |\n' + |
|
|
|
|
|
|
|
|
'| Classes | Metaclasses |\n' + |
|
|
'+---------+-------------|\n' + |
|
|
'+---------+-------------|\n' + |
|
|
'| MyClass > MyMetaClass |\n' + |
|
|
'| MyClass > MyMetaClass |\n' + |
|
|
'| | v |\n' + |
|
|
'| | v |\n' + |
|
@ -43,7 +43,7 @@ const DIAGRAM_1_A = |
|
|
|
|
|
|
|
|
const DIAGRAM_1_B = |
|
|
const DIAGRAM_1_B = |
|
|
'┏━━━━━━━━━┯━━━━━━━━━━━━━┓\n' + |
|
|
'┏━━━━━━━━━┯━━━━━━━━━━━━━┓\n' + |
|
|
'┃ classes │ metaclasses ┃\n' + |
|
|
|
|
|
|
|
|
'┃ Classes │ Metaclasses ┃\n' + |
|
|
'┠─────────┼─────────────┨\n' + |
|
|
'┠─────────┼─────────────┨\n' + |
|
|
'┃ MyClass → MyMetaClass ┃\n' + |
|
|
'┃ MyClass → MyMetaClass ┃\n' + |
|
|
'┃ │ ↓ ┃\n' + |
|
|
'┃ │ ↓ ┃\n' + |
|
@ -54,7 +54,7 @@ const DIAGRAM_1_B = |
|
|
|
|
|
|
|
|
const DIAGRAM_2_A = |
|
|
const DIAGRAM_2_A = |
|
|
'+---------+-------------+\n' + |
|
|
'+---------+-------------+\n' + |
|
|
'| classes | metaclasses |\n' + |
|
|
|
|
|
|
|
|
'| Classes | Metaclasses |\n' + |
|
|
'+---------+-------------|\n' + |
|
|
'+---------+-------------|\n' + |
|
|
'| MyClass | MyMetaClass |\n' + |
|
|
'| MyClass | MyMetaClass |\n' + |
|
|
'| v | v |\n' + |
|
|
'| v | v |\n' + |
|
@ -65,7 +65,7 @@ const DIAGRAM_2_A = |
|
|
|
|
|
|
|
|
const DIAGRAM_2_B = |
|
|
const DIAGRAM_2_B = |
|
|
'┏━━━━━━━━━┯━━━━━━━━━━━━━┓\n' + |
|
|
'┏━━━━━━━━━┯━━━━━━━━━━━━━┓\n' + |
|
|
'┃ classes │ metaclasses ┃\n' + |
|
|
|
|
|
|
|
|
'┃ Classes │ Metaclasses ┃\n' + |
|
|
'┠─────────┼─────────────┨\n' + |
|
|
'┠─────────┼─────────────┨\n' + |
|
|
'┃ MyClass │ MyMetaClass ┃\n' + |
|
|
'┃ MyClass │ MyMetaClass ┃\n' + |
|
|
'┃ ↓ │ ↓ ┃\n' + |
|
|
'┃ ↓ │ ↓ ┃\n' + |
|
|