package com.drawbridge.jsengine;
import com.drawbridge.jsengine.jsobjects.JSType;
public class SymbolTableEntry {
private JSType mReference;
private Integer mIndexPos = null;
/**
* @return the variablePosition
*/
public Integer getLinePosition() {
return mIndexPos;
}
public SymbolTableEntry(JSType variable){
mReference = variable;
}
public SymbolTableEntry(JSType variable, int position){
this(variable);
mIndexPos = position;
}
/**
* @return the variableReference
*/
public JSType getVariable() {
return mReference;
}
/**
* @param variableReference the variableReference to set
*/
public void setVariable(JSType variableReference) {
this.mReference = variableReference;
}
}