public override Wrapper VisitGesture(PreposeGesturesParser.GestureContext context) { var g = new Gesture(context.ID().GetText()); foreach (var d in context.pose()) { var converted = (Pose)this.Visit(d); g.AddPose(converted); } foreach (var d in context.execution().execution_step()) { var converted = (ExecutionStep)this.Visit(d); g.AddStep(converted); } return(new Wrapper(g)); }