|
/**
* The Code Project Open License (CPOL) 1.02
* see : http://www.codeproject.com/info/cpol10.aspx
*
* Author : Adrabi Abderrahim
* Mail : adrabi[at]gmail[dot]com
* Year : 2009
* Discrip : this code a part of "Create Your Own Programming Language, just game ?"
* and code using is from Alef++ project
* https://sourceforge.net/projects/alefpp/
*/
package st4tic.core;
/**
* Class base for St4tic language variables
*
* @author Adrabi Abderrahim
*
*/
public class St4ticVariable extends St4ticObject {
private String variableName = null;
private St4ticValue variableValue = null;
/**
* Get a variable name
* @return String
*/
public String getVariableName() {
return variableName;
}
/**
* Set a name for variable
* @param variableName
*/
public void setVariableName(String variableName) {
this.variableName = variableName;
}
/**
* Get a variable value
* @return St4ticValue
*/
public St4ticValue getVariableValue() {
return variableValue;
}
/**
* Set a value to variable
* @param variableValue
*/
public void setVariableValue(St4ticValue variableValue) {
this.variableValue = variableValue;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.