You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand right, the format method is not currently implemented for all Events, in particular it is not implemented for LineComment and BlockComment? This would be useful in scenarios when someone is automatically updating part of a large TDL file and wants to copy large parts of it without modifying them (while modifying other parts).
The text was updated successfully, but these errors were encountered:
Yes, that's because the LineComment and BlockComment events are paired with simple strings and not delphin.tdl classes, like delphin.tdl.TypeDefinition for TypeDefinition events. I think we could make delphin.tdl.LineComment and delphin.tdl.BlockComment classes as subtypes of str, which would allow tdl.format() to print them appropriately.
If I understand right, the
format
method is not currently implemented for all Events, in particular it is not implemented for LineComment and BlockComment? This would be useful in scenarios when someone is automatically updating part of a large TDL file and wants to copy large parts of it without modifying them (while modifying other parts).The text was updated successfully, but these errors were encountered: