forked from mvdan/sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's not particularly useful yet, but it will be useful very soon to clean up IfClause. We also did have Pos and End methods for this type, though we hadn't exported them. Removing the type or the methods would be a net loss of simplicity in the syntax tree type definitions, so properly expose the type and methods. It's the first node whose Pos and End methods don't take pointer receivers. That's fine, as it is often used as an anonymous field.
- Loading branch information
Showing
2 changed files
with
9 additions
and
12 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