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