@Test public void emptyTokenListDoesNotThrowNullPointerException() throws ScanException { Parser parser = new Parser(new ArrayList<Token>()); parser.parse(); }
public Node parse() throws ScanException { if (tokenList == null || tokenList.isEmpty()) return null; return E(); }
Parser { public Node parse() throws ScanException { if (tokenList == null || tokenList.isEmpty()) return null; return E(); } }
Parser { public Node parse() throws ScanException { if (tokenList == null || tokenList.isEmpty()) return null; return E(); } Parser(List<Token> tokenList); }
Parser { public Node parse() throws ScanException { if (tokenList == null || tokenList.isEmpty()) return null; return E(); } Parser(List<Token> tokenList); Node parse(); }
Parser { public Node parse() throws ScanException { if (tokenList == null || tokenList.isEmpty()) return null; return E(); } Parser(List<Token> tokenList); Node parse();  }