/* * 03/21/2010 * * Copyright (C) 2010 Robert Futrell * robert_futrell at users.sourceforge.net * http://fifesoft.com/rsyntaxtextarea * * This library is distributed under a modified BSD license. See the included * RSTALanguageSupport.License.txt file for details. */ package org.fife.rsta.ac.java.rjc.ast; import org.fife.rsta.ac.java.rjc.lexer.Scanner; public class EnumDeclaration extends AbstractTypeDeclarationNode { // private EnumBody enumBody; public EnumDeclaration(Scanner s, int offs, String name) { super(name, s.createOffset(offs), s.createOffset(offs+name.length())); } public String getTypeString() { return "enum"; } // public void setEnumBody(EnumBody enumBody) { // this.enumBody = enumBody; // } }