示例#1
0
 protected boolean isInFirstOfListElement(Lex lex) {
   return lex.front() instanceof Argument;
 }
示例#2
0
 public Node createNode(Lex lex) throws ParserException {
   Node result = lex.front();
   if (!(result instanceof Argument)) throw new ParserException("");
   lex.popFront();
   return result;
 }