The patch series mainly adds capability to use strings and
sometimes integers to refer Variables and Types when
a regular reference is not available (the entity may not yet exist).
The system inserts actual references just before chunks generation.
This also tear source/model.py apart several files according
to semantic.
Function body model is also got some tweaks.
v3 (not ready):
move generic patches to amother MR #74
move model refactoring code to another MR #61
rebase onto new master
fixup returns of functions in new tests for model
LateLink reports resolution error in __c__ too
patches about OpSDeref are redesigned
OpSDeref explicitly handle LateLinks
v2:
auto re-direction from forward structure declaration to the
structure definition (by OpSDeref) is moved to TypeFixerVisitor
add a test for that re-direction
sys.stdout is saved in co_build_inclusions kw defaults, i.e. near its usage
The patch series mainly adds capability to use
str
ings and sometimesint
egers to referVariable
s andType
s when a regular reference is not available (the entity may not yet exist). The system inserts actual references just before chunks generation.This also tear source/model.py apart several files according to semantic.
Function body model is also got some tweaks.
v3 (not ready):
LateLink
reports resolution error in__c__
tooOpSDeref
are redesignedOpSDeref
explicitly handleLateLink
sv2:
OpSDeref
) is moved toTypeFixerVisitor
sys.stdout
is saved inco_build_inclusions
kw defaults, i.e. near its usagepath2tuple