> Parser!(Type.request) h = new Parser!(Type.request)("Hello world")<div><br></div><div>Wow, I was so close!  I had tried this:</div><div><br></div><div>Parser!Type.request h = new Parser!Type.request("Hello world");</div>

<div><br></div><div>but that didn't work. I didn't think about enclosing it in parens!</div><div><br></div><div>I didn't want to do subclassing, because my parser is a state-machine style parser, so it's in a big switch. Pretty gross, but I would like it to be as fast as possible. That's why I thought this model would be so cool, because I could remove conditions from the generated code, and get rid of a lot of the conditionals.</div>

<div><br></div><div>Thanks so much!</div>