in nlpcraft/src/main/scala/org/apache/nlpcraft/internal/intent/compiler/antlr4/NCIDLParser.java [473:509]
public final FragRefContext fragRef() throws RecognitionException {
FragRefContext _localctx = new FragRefContext(_ctx, getState());
enterRule(_localctx, 12, RULE_fragRef);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(100);
match(FRAG);
setState(101);
match(LPAR);
setState(102);
id();
setState(104);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==COMMA) {
{
setState(103);
fragMeta();
}
}
setState(106);
match(RPAR);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}