rust/src/librustsyntax/parse
Tim Chevalier 5c12cd72f4 Allow classes to implement ifaces
Introduce syntax like:

iface animal { ... }
class cat implements animal { ... }

to allow classes to implement ifaces. Casting classes to ifaces
is *not* yet supported. ifaces that a class implements are not
yet included in metadata.

The syntax is subject to change, and may go away completely if we
decide to use duck typing to relate classes with ifaces (see
http://smallcultfollowing.com/babysteps/blog/2012/04/10/declared-vs-duckish-typing/ )
2012-04-11 16:20:01 -07:00
..
eval.rs Convert old-style for loops to new-style 2012-04-06 20:38:23 +02:00
lexer.rs
parser.rs Allow classes to implement ifaces 2012-04-11 16:20:01 -07:00
token.rs