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

📄 postincexpr.java

📁 JDK1.4编译器前端
💻 JAVA
字号:

package AST;
import java.util.HashSet;import java.util.LinkedHashSet;import java.io.FileNotFoundException;import java.io.File;import java.util.*;import beaver.*;import java.util.ArrayList;import java.util.zip.*;import java.io.*;public class PostIncExpr extends PostfixExpr implements Cloneable {
    public void flushCache() {        super.flushCache();        printPostOp_visited = -1;    }     @SuppressWarnings({"unchecked", "cast"})  public PostIncExpr clone() throws CloneNotSupportedException {        PostIncExpr node = (PostIncExpr)super.clone();        node.printPostOp_visited = -1;        node.in$Circle(false);        node.is$Final(false);    return node;    }     @SuppressWarnings({"unchecked", "cast"})  public PostIncExpr copy() {      try {          PostIncExpr node = (PostIncExpr)clone();          if(children != null) node.children = (ASTNode[])children.clone();          return node;      } catch (CloneNotSupportedException e) {      }      System.err.println("Error: Could not clone node of type " + getClass().getName() + "!");      return null;    }     @SuppressWarnings({"unchecked", "cast"})  public PostIncExpr fullCopy() {        PostIncExpr res = (PostIncExpr)copy();        for(int i = 0; i < getNumChildNoTransform(); i++) {          ASTNode node = getChildNoTransform(i);          if(node != null) node = node.fullCopy();          res.setChild(node, i);        }        return res;    }    // Declared in java.ast at line 3    // Declared in java.ast line 150
    public PostIncExpr() {        super();

    }    // Declared in java.ast at line 10
    // Declared in java.ast line 150    public PostIncExpr(Expr p0) {        setChild(p0, 0);    }    // Declared in java.ast at line 14  protected int numChildren() {
    return 1;
  }    // Declared in java.ast at line 17
  public boolean mayHaveRewrite() { return false; }    // Declared in java.ast at line 2    // Declared in java.ast line 139    public void setOperand(Expr node) {        setChild(node, 0);    }    // Declared in java.ast at line 5    public Expr getOperand() {        return (Expr)getChild(0);    }    // Declared in java.ast at line 9    public Expr getOperandNoTransform() {        return (Expr)getChildNoTransform(0);    }    protected int printPostOp_visited = -1;    // Declared in PrettyPrint.jadd at line 389 @SuppressWarnings({"unchecked", "cast"})     public String printPostOp() {        if(printPostOp_visited == boundariesCrossed)            throw new RuntimeException("Circular definition of attr: printPostOp in class: ");        printPostOp_visited = boundariesCrossed;        String printPostOp_value = printPostOp_compute();        printPostOp_visited = -1;        return printPostOp_value;    }    private String printPostOp_compute() {  return "++";  }public ASTNode rewriteTo() {    return super.rewriteTo();}}

⌨️ 快捷键说明

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