Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚从 fastparse 0.3.7 更新到 0.4.1。Parsed.Failure 的附加部分中不再有列编号值。我浏览了源代码,似乎该功能已被删除,尽管它仍在文档中。现在还有其他方法可以获取列信息吗?
它只是改变了一点。您需要获取失败的索引和解析器,然后调用StringReprOps.prettyIndex.
StringReprOps.prettyIndex