idank / bashlex

Python parser for bash
GNU General Public License v3.0
550 stars 94 forks source link

parser: implement case statement #85

Closed jk-mtnv closed 1 year ago

jk-mtnv commented 1 year ago

The case is a compound node like the if node. The pattern node is also a complex node containing "simple" and reserved words as its parts so that we can easily differentiate various patterns separated by '|'.

idank commented 1 year ago

Thanks for your work!