syntax: add PExpr:is_typed and PExpr::is_statement
authorJean Privat <jean@pryen.org>
Wed, 17 Jun 2009 20:38:07 +0000 (16:38 -0400)
committerJean Privat <jean@pryen.org>
Wed, 24 Jun 2009 19:47:33 +0000 (15:47 -0400)
commit9afb9275cc762ae935ef7f0e8946a934e6e70545
treec6bdd0345ffff723d2400278bfb6f0add1a1bd86
parent43a8c1bb505112f172f356dfca9dd5f7dc0eb983
syntax: add PExpr:is_typed and PExpr::is_statement

Contracts are not enforced yet.
Update check_expr to profit from them.

Signed-off-by: Jean Privat <jean@pryen.org>
src/syntax/syntax_base.nit
src/syntax/typing.nit