remove "var", or use appropriate type annotation (StyleSheet?)

also, as noted above I'm not a huge fan of calling the "entry point" method "visit". Maybe people can just call visitStylesheet