⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 star.java

📁 To help you in writing an LL grammar, we have developed a tool to analyze a grammar and determine if
💻 JAVA
字号:
// LLAnalyze -- Nathaniel Nystrom, February 2000// For use in Cornell University Computer Science 412/413// Class representing expressions of the form ( alpha )*, where alpha// is some string of expressions.package Iota.util.grammar;import java.util.*;public class Star extends Expr{    List exprs;    public Star(List exprs)    {	this.exprs = exprs;    }    public List getContents()    {	return exprs;    }    public String toString()    {	String s = "(";	Iterator it = exprs.iterator();	while (it.hasNext()) {	    Expr expr = (Expr) it.next();	    s += " " + expr;	}	return s + " ) *";    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -