public override void ExitLabel_simple(VowpalWabbitParser.Label_simpleContext context) { this.example.Label = new SimpleLabel { Label = context.value.value }; }
public override void ExitLabel_simple(VowpalWabbitParser.Label_simpleContext context) { var simpleLabel = new SimpleLabel() { Label = context.value.value }; if (context.initial != null) { simpleLabel.Initial = context.initial.value; } this.example.Label = simpleLabel; }