Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up Absyn.Path function in AbsynUtil a bit
- Add pathSetFirstIdent. - Change behaviour of pathSetLastIdent to replace the last identifier with a string instead of a path, since that's what the name implies and also how it's actually used. - Change behaviour of pathContains to take a string identifier instead of a path and rename it pathContainsIdent, since that's how it's used. - Remove pathReplaceIdent and change the only use of the function to use pathSetLastIdent instead, since that's what it did. - Remove unused and rather specialized functions pathTwoLastIdents, prefixOptPath, and pathReplaceFirstIdent.
- Loading branch information
Showing
5 changed files
with
44 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters