in modules/ml-ext/ml/xgboost-model-parser/src/main/java/org/apache/ignite/ml/xgboost/parser/XGBoostModelParser.java [536:589]
public final XgNodeContext xgNode() throws RecognitionException {
XgNodeContext _localctx = new XgNodeContext(_ctx, getState());
enterRule(_localctx, 4, RULE_xgNode);
try {
enterOuterAlt(_localctx, 1);
{
setState(21);
match(INT);
setState(22);
match(COLON);
setState(23);
match(LBRACK);
setState(24);
match(STRING);
setState(25);
match(LT);
setState(26);
xgValue();
setState(27);
match(RBRACK);
setState(28);
match(YES);
setState(29);
match(EQ);
setState(30);
match(INT);
setState(31);
match(COMMA);
setState(32);
match(NO);
setState(33);
match(EQ);
setState(34);
match(INT);
setState(35);
match(COMMA);
setState(36);
match(MISSING);
setState(37);
match(EQ);
setState(38);
match(INT);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}