/* Generated By:JJTree: Do not edit this line. ASTIncludeStmt.java */ package com.framsticks.framclipse.internal.parser; import org.eclipse.jface.text.IDocument; public class ASTIncludeStmt extends ElementWithOffset { private String fileName = "N/A"; public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName.replaceAll("\"", ""); } public ASTIncludeStmt(int id) { super(id); } public ASTIncludeStmt(FramclipseNonScriptParser p, int id) { super(p, id); } @Override public String toString() { return fileName + ": Included file"; } @Override public boolean isEquivalent(ElementWithOffset element, IDocument document) { if(!(element instanceof ASTIncludeStmt)) return false; return this.fileName.equals(((ASTIncludeStmt)element).fileName); } }