Closed andry-tino closed 7 years ago
The conditions that make this change necessary are not valid anymore. The targeted projects have types that should not fall into the overridden [ScriptNamespace("NewNamespace")]
as it was assumed at the beginning of this task.
Add a flag and logic in ScriptSharp definitions, in order to apply a new namespace to all types.
Performance
Performance are bad when going through the regular AST transformation for handling the
[ScriptNamespace("NewNamespace")]
script namespace:Suggested approach
Create a new syntax transformer which renames all namespace into the one passed by the parameter. This will add complexity in memory consumption, but in terms of performance, it will be a much faster process compared to the current transformation algorithm.