Skip to content

Instantly share code, notes, and snippets.

@andymatuschak
Created October 21, 2009 03:38
Show Gist options
  • Save andymatuschak/214852 to your computer and use it in GitHub Desktop.
Save andymatuschak/214852 to your computer and use it in GitHub Desktop.
class Test
{
int s;
void foo()
{
int foo, bar;
bar.baz[4] = 4;
}
}
[EsClass {className = "Test", classParent = Nothing, classVars = [EsVar {varType = EsInt, varAlloc = 1, varName = "s"}], classMethods = [EsMethod {methType = EsVoid, methName = "foo", methParams = [], methCode = EsBlock [EsVar {varType = EsInt, varAlloc = 1, varName = "foo"},EsVar {varType = EsInt, varAlloc = 1, varName = "bar"}] [EsAssign (EsLocArrElem (EsLocField (EsLocVar "bar") "baz") 4) (EsLiteralExpr (EsLiteralInt 4))]}]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment