Merge: Qualified class identifiers
authorJean Privat <jean@pryen.org>
Wed, 16 Dec 2015 17:12:30 +0000 (12:12 -0500)
committerJean Privat <jean@pryen.org>
Wed, 16 Dec 2015 17:12:30 +0000 (12:12 -0500)
commit54b20e9b4a3477f459035a22fd60c5ca9e2089bf
tree5156130c701b7cb9bf7251a9d5e34cb858248cb6
parente47f39f90453a104323b7e7cca8f9627d77a77fe
parent674f585199ad5e37f63919ef3b65fcc3f9da3435
Merge: Qualified class identifiers

Extends the parsed and the AST to handle qualified class identifiers.

Now you can parse

~~~nit
redef class m0::A
        super m1::S
        redef type m2::B::T: Int
        fun foo: m3::G[m4::C] do end
end
~~~

Currently, the class qualifiers, if any, are just ignored by semantic phases. Like with method qualifiers.

Pull-Request: #1900
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>