Currently, the direct eval operator syntax
eval(foo)
parses into
["CallExpr",
{},
["IdExpr",
{
"name":"eval"
}
],
["IdExpr",
{
"name":"foo"
}
]
]
However, because the semantics of this form may be a direct eval operator,
which is very different from a CallExpr, it should have its own AST type, say
["EvalExpr",
{},
["IdExpr",
{
"name":"foo"
}
]
]
Original issue reported on code.google.com by erights on 25 Dec 2009 at 5:43
Original issue reported on code.google.com by
erights
on 25 Dec 2009 at 5:43