Parse the input file representation of a PinType
| input |
the string representation of the pin type |
|
the pin type |
| ParseError.INVALID_INTEGER |
the input is not a valid number |
| ParseError.OUT_OF_RANGE |
the input is outside the range of PinType |