public void exitEveryRule(ParserRuleContext ctx) {if (ctx.children instanceof ArrayList) {((ArrayList<?>)ctx.children).trimToSize();}}

public void exitEveryRule ( ParserRuleContext ctx ) { if ( ctx . children instanceof ArrayList ) { ( ( ArrayList < ? > ) ctx . children ) . trimToSize ( ) ; } }
public virtual void ExitEveryRule(ParserRuleContext ctx){if (ctx.children is List<IParseTree>){((List<IParseTree>)ctx.children).TrimExcess();}}
