bukzor / RefactorLib

A library for refactorization. (cheetah and python, currently)
5 stars 2 forks source link

Allow source to be optionally passed to parse() #8

Closed asottile closed 10 years ago

asottile commented 10 years ago

I was hacking around this and basically reimplementing parse when using this, which felt gross. This lets you still get the goodies of the encoding and filetype detector while allowing you to not need to reparse a file.

Also this makes it much easier to test stuff if you don't need a real file.

asottile commented 10 years ago

ehhh decided to use the specifc .parse() methods instead