Skip to content

Instantly share code, notes, and snippets.

@fjolnir
Created May 30, 2012 09:07
Show Gist options
  • Save fjolnir/2834806 to your computer and use it in GitHub Desktop.
Save fjolnir/2834806 to your computer and use it in GitHub Desktop.
class Foo < Bar
+ method: arg1 with: arg2 {}
- instanceMethod {}
end
is parsed to:
<cls@ class <ident@ Foo> < <ident@ Bar>
<meth@ + <arg@ method: <ident@ arg1>> <arg@ with: <ident@ arg2>> {}>
<meth@ - <arg@ instanceMethod: (null)> {}>
end>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment