Rewritten getText in BooleanMacro to reduce compile time overhead.