Skip to content

Instantly share code, notes, and snippets.

@geraldalewis
Created January 6, 2011 02:36
Show Gist options
  • Save geraldalewis/767413 to your computer and use it in GitHub Desktop.
Save geraldalewis/767413 to your computer and use it in GitHub Desktop.
else if prev and not prev.spaced
if value is '(' and prev[0] in CALLABLE
prev[0] = 'FUNC_EXIST' if prev[0] is '?'
tag = 'CALL_START'
else if value is '[' and prev[0] in INDEXABLE
tag = 'INDEX_START'
switch prev[0]
when '?' then prev[0] = 'INDEX_SOAK' # <---- #971
when '::' then prev[0] = 'INDEX_PROTO'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment