registerNodeTransformerUnwrappingChild

fun <P : ParserRuleContext> registerNodeTransformerUnwrappingChild(kclass: KClass<P>): NodeTransformer<P, Node>

Often in ANTLR grammar we have rules which wraps other rules and act as wrapper. When there is only a ParserRuleContext child we can transform that child and return that result.