declare ShellExpand::State private
make isVarChar() a static method of State