Hang it all! said Tommy indignantly.
( ( Hang it ) ( ( all ! ) ( ( ( said Tommy ) indignantly ) . ) ) )
(ROOT (S (NP (NNP Hang) (PRP it)) (ADVP (DT all) (NN !)) (VP (VBD said) (NP (NNP Tommy)) (ADVP (RB indignantly))) (. .)))
Tommy happily declared to hang nothing.
( Tommy ( happily ( ( declared ( to ( hang nothing ) ) ) . ) ) )
(ROOT (S (NP (NNP Tommy)) (ADVP (RB happily)) (VP (VBD declared) (S (VP (TO to) (VP (VB hang) (NP (NN nothing)))))) (. .)))