Line type parser