/**
+ * Common superclass of all {@link Ptg}s that represent simple constant values.
+ *
* @author Josh Micich
*/
-abstract class ScalarConstantPtg extends Ptg {
- public boolean isBaseToken() {
+public abstract class ScalarConstantPtg extends Ptg {
+ public final boolean isBaseToken() {
return true;
}
*/
public final class MissingArgEval implements ValueEval {
- public static MissingArgEval instance = new MissingArgEval();
+ public static final MissingArgEval instance = new MissingArgEval();
private MissingArgEval() {
// enforce singleton