예제 #1
0
파일: ECLParser.java 프로젝트: mhcxp/isgi
  // $ANTLR start actionStmt
  // ECL.g:21:1: actionStmt : actionName idSet ;
  public final void actionStmt() throws RecognitionException {
    actionName_return actionName1 = null;

    java.util.Set<Long> idSet2 = null;

    try {
      // ECL.g:21:12: ( actionName idSet )
      // ECL.g:21:14: actionName idSet
      {
        pushFollow(FOLLOW_actionName_in_actionStmt71);
        actionName1 = actionName();
        _fsp--;

        pushFollow(FOLLOW_idSet_in_actionStmt73);
        idSet2 = idSet();
        _fsp--;

        CommandUtil.performAction(input.toString(actionName1.start, actionName1.stop), idSet2);
      }

    } catch (RecognitionException re) {
      reportError(re);
      recover(input, re);
    } finally {
    }
    return;
  }
예제 #2
0
파일: ECLParser.java 프로젝트: mhcxp/isgi
  // $ANTLR start installStmt
  // ECL.g:28:1: installStmt : 'install ' jarSet ;
  public final void installStmt() throws RecognitionException {
    java.util.Set<String> jarSet3 = null;

    try {
      // ECL.g:28:13: ( 'install ' jarSet )
      // ECL.g:28:15: 'install ' jarSet
      {
        match(input, 13, FOLLOW_13_in_installStmt107);
        pushFollow(FOLLOW_jarSet_in_installStmt109);
        jarSet3 = jarSet();
        _fsp--;

        CommandUtil.install(jarSet3);
      }

    } catch (RecognitionException re) {
      reportError(re);
      recover(input, re);
    } finally {
    }
    return;
  }