forked from https://code.google.com/p/protoc-gen-as3/