Skip to content

Commit

Permalink
[dotnet] Rename .Tokens()/.ReverseTokens() API to clarify it's weird …
Browse files Browse the repository at this point in the history
…semantics

GitOrigin-RevId: cc348f43c082a63e4b4feb6ac98c04c717a05b89
  • Loading branch information
controlflow authored and intellij-monorepo-bot committed Jan 24, 2025
1 parent 32d3613 commit 3b48eb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ let shiftWhitespaceBefore shift (whitespace: Whitespace) =
let shiftNode shift (expr: #ITreeNode) =
if shift = 0 || isNull expr then () else

for child in List.ofSeq (expr.Tokens()) do
for child in List.ofSeq (expr.EnumerateAllTokensFromFirstIn()) do
if not (child :? NewLine) then () else

let nextSibling = child.NextSibling
Expand Down

0 comments on commit 3b48eb7

Please sign in to comment.