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
Related to #380, it would be helpful to add an example of this important method. Creating this issue as a reminder to add it once Python docs are released.
Explanation:
There is an isEquivalentTo function on SyntaxNodes that compare logical equivalence (i.e. without any trivia like whitespace or comments), which is maybe what you want. Otherwise if you want a string comparison you can use the SyntaxPrinter class which has various options for controlling whether comments, trivia, preprocessed nodes, etc are included.
The text was updated successfully, but these errors were encountered:
Related to #380, it would be helpful to add an example of this important method. Creating this issue as a reminder to add it once Python docs are released.
Explanation:
The text was updated successfully, but these errors were encountered: