gpt4 book ai didi

java - 是否有完整的 Java 非终端列表?

转载 作者:行者123 更新时间:2023-11-29 06:51:28 26 4
gpt4 key购买 nike

我已经找到了 Java Language Specification但我不确定 point 2.4 上是否列出了非终端是所有非终端的完整列表。 Java有多少个非终端?

最佳答案

第 2.4 点只是解释语法符号的工作原理。完整列表包含在以下章节中。

The syntactic grammar for the Java programming language is given in Chapters 4, 6-10, 14, and 15. This grammar has tokens defined by the lexical grammar as its terminal symbols. It defines a set of productions, starting from the goal symbol CompilationUnit (§7.3), that describe how sequences of tokens can form syntactically correct programs.

关于java - 是否有完整的 Java 非终端列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46793979/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com