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

📄 satherblockfinishinginfo.java

📁 SRI international 发布的OAA框架软件
💻 JAVA
字号:
package antlr_oaa;

/* ANTLR Translator Generator
 * Project led by Terence Parr at http://www.jGuru.com
 * Software rights: http://www.antlr.org/RIGHTS.html
 *
 * $Id: SatherBlockFinishingInfo.java,v 1.1 2002/11/08 17:37:44 agno Exp $
 */

class SatherBlockFinishingInfo 
{
    String postscript;		// what to generate to terminate block
    boolean generatedSwitch;    // did block finish with "default:" of switch?
    boolean generatedAnIf;
	
    /** When generating an if or switch, end-of-token lookahead sets
     *  will become the else or default clause, don't generate an
     *  error clause in this case.
     */
    boolean needAnErrorClause;


    public SatherBlockFinishingInfo() 
    {
	postscript=null;
	generatedSwitch=generatedSwitch = false;
	needAnErrorClause = true;
    }

    public SatherBlockFinishingInfo( String ps, 
				     boolean genS, 
				     boolean generatedAnIf, 
				     boolean n ) 
    {
	postscript = ps;
	generatedSwitch = genS;
	this.generatedAnIf = generatedAnIf;
	needAnErrorClause = n;
    }
}

⌨️ 快捷键说明

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