Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

All snippets
Create a snippet
Full search

Quick search:


Editing Snippet ID: #1003523
Snippet name:
Category, Type:
Content:
// returns index of endToken static int scanOverExpression(L<S> tok, Map<Integer, Integer> bracketMap, int i, S endToken) { while (i < l(tok)) { if (eq(endToken, tok.get(i))) ret i; Integer j = bracketMap.get(i); if (j != null) i = j+1; else i++; } ret i; }
Comment:
Public (visible to everyone):
Created: 2016-07-11 01:24:26

This page without fancy editor.