全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Panic-mode recovery, synchronising token?

又称: panic-mode recovery · synchronising token

Definition 2.11 University Computer Science — Year 3 · 第 2 章 — Top-Down Parsing

In panic-mode recovery, a parser that meets an error records it, then skips tokens until it reaches a synchronising token: a token after which parsing can resume in a known state. It then resumes from the function that handles that state.

在原文中阅读 →