Refactoring of CompileTimeConstant, introduce flag to represent a constant being referenced by a variable
Intention to simplify boolean expressions that have expressions in them that can be simplified to constants