package net.sourceforge.phpeclipse.phpeditor.php; /** * @author Choochter * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public class PHPKeyword extends PHPElement{ private int tokenval; public void settokenval(String tokenval) { this.tokenval = Integer.parseInt(tokenval);} public void settokenval(int tokenval) { this.tokenval = tokenval;} public int gettokenval() { return this.tokenval; } public PHPKeyword(String Name, String Description, String tokenval){ super(Name, Description); if ((tokenval == null) || (tokenval.equals(""))) { //if there is not a tokenval, then not implemented. settokenval(-1); } else { settokenval(tokenval); } //settokenval(tokenval); } }