final public List<Literal> literals() throws ParseException {
 List<Literal> literals=new ArrayList<Literal>();
 String literalFunction=null;
  Literal literal=null;
    if (jj_2_48(7)) {
      literalFunction = literalFunction();
    } else if (jj_2_49(7)) {
      literal = literal();
    } else {
      jj_consume_token(-1);
      throw new ParseException();
    }
   if (null!=literalFunction) {
    literal=DomUtilities.getLiteralVariable(literalFunction,false);
   }
   literals.add(literal);
   literalFunction=null;
   literal=null;
    label_7:
    while (true) {
      if (jj_2_50(7)) {
        ;
      } else {
        break label_7;
      }
      jj_consume_token(ARGUMENT_SEPARATOR);
      if (jj_2_51(7)) {
        literalFunction = literalFunction();
      } else if (jj_2_52(7)) {
        literal = literal();
      } else {
        jj_consume_token(-1);
        throw new ParseException();
      }
   if (null!=literalFunction) {
    literal=DomUtilities.getLiteralVariable(literalFunction,false);
    //literal=new LiteralVariable(literalFunction,false);
   }
   literals.add(literal);
   literalFunction=null;
   literal=null;
    }
   {if (true) return literals;}
    throw new Error("Missing return statement in function");
  }