[Parser] Fixed broken visibility modifier application to parsed symbols