model: introduce examples flags
[nit.git] / src / model / test_model_json.sav / test_classdefs_to_full_json.res
index 2dd320b..96d1691 100644 (file)
@@ -13,7 +13,7 @@
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "interface"],
+       "modifiers": ["interface"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Object"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Object$OTHER"
+               "full_name": "test_prog$Object$!="
        }, {
                "full_name": "test_prog$Object$=="
        }, {
-               "full_name": "test_prog$Object$!="
+               "full_name": "test_prog$Object$OTHER"
        }, {
                "full_name": "test_prog$Object$init"
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::Object::OTHER"
+               "full_name": "test_prog::Object::!="
        }, {
                "full_name": "test_prog::Object::=="
        }, {
-               "full_name": "test_prog::Object::!="
+               "full_name": "test_prog::Object::OTHER"
        }, {
                "full_name": "test_prog::Object::init"
        }],
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Object$OTHER"
+               "full_name": "test_prog$Object$!="
        }, {
                "full_name": "test_prog$Object$=="
        }, {
-               "full_name": "test_prog$Object$!="
+               "full_name": "test_prog$Object$OTHER"
        }, {
                "full_name": "test_prog$Object$init"
        }],
@@ -79,7 +79,7 @@
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Int"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Int$unary -"
+               "full_name": "test_prog$Int$*"
        }, {
                "full_name": "test_prog$Int$+"
        }, {
                "full_name": "test_prog$Int$-"
        }, {
-               "full_name": "test_prog$Int$*"
-       }, {
                "full_name": "test_prog$Int$/"
        }, {
                "full_name": "test_prog$Int$>"
        }, {
                "full_name": "test_prog$Int$to_f"
+       }, {
+               "full_name": "test_prog$Int$unary -"
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::Int::unary -"
+               "full_name": "test_prog::Int::*"
        }, {
                "full_name": "test_prog::Int::+"
        }, {
                "full_name": "test_prog::Int::-"
        }, {
-               "full_name": "test_prog::Int::*"
-       }, {
                "full_name": "test_prog::Int::/"
        }, {
                "full_name": "test_prog::Int::>"
        }, {
                "full_name": "test_prog::Int::to_f"
+       }, {
+               "full_name": "test_prog::Int::unary -"
        }],
        "intro": {
                "full_name": "test_prog$Int"
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Int$unary -"
+               "full_name": "test_prog$Int$*"
        }, {
                "full_name": "test_prog$Int$+"
        }, {
                "full_name": "test_prog$Int$-"
        }, {
-               "full_name": "test_prog$Int$*"
-       }, {
                "full_name": "test_prog$Int$/"
        }, {
                "full_name": "test_prog$Int$>"
        }, {
                "full_name": "test_prog$Int$to_f"
+       }, {
+               "full_name": "test_prog$Int$unary -"
        }],
        "redef_mpropdefs": []
 }
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Float"
        },
        "mpropdefs": [{
+               "full_name": "test_prog$Float$*"
+       }, {
                "full_name": "test_prog$Float$+"
        }, {
                "full_name": "test_prog$Float$-"
        }, {
-               "full_name": "test_prog$Float$*"
-       }, {
                "full_name": "test_prog$Float$/"
        }, {
                "full_name": "test_prog$Float$>"
        }],
        "intro_mproperties": [{
+               "full_name": "test_prog::Float::*"
+       }, {
                "full_name": "test_prog::Float::+"
        }, {
                "full_name": "test_prog::Float::-"
        }, {
-               "full_name": "test_prog::Float::*"
-       }, {
                "full_name": "test_prog::Float::/"
        }, {
                "full_name": "test_prog::Float::>"
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
+               "full_name": "test_prog$Float$*"
+       }, {
                "full_name": "test_prog$Float$+"
        }, {
                "full_name": "test_prog$Float$-"
        }, {
-               "full_name": "test_prog$Float$*"
-       }, {
                "full_name": "test_prog$Float$/"
        }, {
                "full_name": "test_prog$Float$>"
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 14,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 16,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 17,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "abstract class"],
+       "modifiers": ["abstract class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Career"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Career$_strength_bonus"
-       }, {
-               "full_name": "test_prog$Career$strength_bonus"
+               "full_name": "test_prog$Career$_endurance_bonus"
        }, {
-               "full_name": "test_prog$Career$strength_bonus="
+               "full_name": "test_prog$Career$_intelligence_bonus"
        }, {
-               "full_name": "test_prog$Career$_endurance_bonus"
+               "full_name": "test_prog$Career$_strength_bonus"
        }, {
                "full_name": "test_prog$Career$endurance_bonus"
        }, {
                "full_name": "test_prog$Career$endurance_bonus="
        }, {
-               "full_name": "test_prog$Career$_intelligence_bonus"
+               "full_name": "test_prog$Career$Object::init"
        }, {
                "full_name": "test_prog$Career$intelligence_bonus"
        }, {
                "full_name": "test_prog$Career$intelligence_bonus="
        }, {
-               "full_name": "test_prog$Career$Object::init"
+               "full_name": "test_prog$Career$strength_bonus"
+       }, {
+               "full_name": "test_prog$Career$strength_bonus="
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::careers::Career::_strength_bonus"
-       }, {
-               "full_name": "test_prog::Career::strength_bonus"
+               "full_name": "test_prog::careers::Career::_endurance_bonus"
        }, {
-               "full_name": "test_prog::Career::strength_bonus="
+               "full_name": "test_prog::careers::Career::_intelligence_bonus"
        }, {
-               "full_name": "test_prog::careers::Career::_endurance_bonus"
+               "full_name": "test_prog::careers::Career::_strength_bonus"
        }, {
                "full_name": "test_prog::Career::endurance_bonus"
        }, {
                "full_name": "test_prog::Career::endurance_bonus="
        }, {
-               "full_name": "test_prog::careers::Career::_intelligence_bonus"
-       }, {
                "full_name": "test_prog::Career::intelligence_bonus"
        }, {
                "full_name": "test_prog::Career::intelligence_bonus="
+       }, {
+               "full_name": "test_prog::Career::strength_bonus"
+       }, {
+               "full_name": "test_prog::Career::strength_bonus="
        }],
        "intro": {
                "full_name": "test_prog$Career"
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Career$_strength_bonus"
-       }, {
-               "full_name": "test_prog$Career$strength_bonus"
+               "full_name": "test_prog$Career$_endurance_bonus"
        }, {
-               "full_name": "test_prog$Career$strength_bonus="
+               "full_name": "test_prog$Career$_intelligence_bonus"
        }, {
-               "full_name": "test_prog$Career$_endurance_bonus"
+               "full_name": "test_prog$Career$_strength_bonus"
        }, {
                "full_name": "test_prog$Career$endurance_bonus"
        }, {
                "full_name": "test_prog$Career$endurance_bonus="
        }, {
-               "full_name": "test_prog$Career$_intelligence_bonus"
-       }, {
                "full_name": "test_prog$Career$intelligence_bonus"
        }, {
                "full_name": "test_prog$Career$intelligence_bonus="
+       }, {
+               "full_name": "test_prog$Career$strength_bonus"
+       }, {
+               "full_name": "test_prog$Career$strength_bonus="
        }],
        "redef_mpropdefs": [{
                "full_name": "test_prog$Career$Object::init"
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "abstract class"],
+       "modifiers": ["abstract class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Race"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Race$_base_strength"
-       }, {
-               "full_name": "test_prog$Race$base_strength"
+               "full_name": "test_prog$Race$_base_endurance"
        }, {
-               "full_name": "test_prog$Race$base_strength="
+               "full_name": "test_prog$Race$_base_intelligence"
        }, {
-               "full_name": "test_prog$Race$_base_endurance"
+               "full_name": "test_prog$Race$_base_strength"
        }, {
                "full_name": "test_prog$Race$base_endurance"
        }, {
                "full_name": "test_prog$Race$base_endurance="
        }, {
-               "full_name": "test_prog$Race$_base_intelligence"
-       }, {
                "full_name": "test_prog$Race$base_intelligence"
        }, {
                "full_name": "test_prog$Race$base_intelligence="
        }, {
+               "full_name": "test_prog$Race$base_strength"
+       }, {
+               "full_name": "test_prog$Race$base_strength="
+       }, {
                "full_name": "test_prog$Race$Object::init"
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::races::Race::_base_strength"
-       }, {
-               "full_name": "test_prog::Race::base_strength"
+               "full_name": "test_prog::races::Race::_base_endurance"
        }, {
-               "full_name": "test_prog::Race::base_strength="
+               "full_name": "test_prog::races::Race::_base_intelligence"
        }, {
-               "full_name": "test_prog::races::Race::_base_endurance"
+               "full_name": "test_prog::races::Race::_base_strength"
        }, {
                "full_name": "test_prog::Race::base_endurance"
        }, {
                "full_name": "test_prog::Race::base_endurance="
        }, {
-               "full_name": "test_prog::races::Race::_base_intelligence"
-       }, {
                "full_name": "test_prog::Race::base_intelligence"
        }, {
                "full_name": "test_prog::Race::base_intelligence="
+       }, {
+               "full_name": "test_prog::Race::base_strength"
+       }, {
+               "full_name": "test_prog::Race::base_strength="
        }],
        "intro": {
                "full_name": "test_prog$Race"
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Race$_base_strength"
-       }, {
-               "full_name": "test_prog$Race$base_strength"
+               "full_name": "test_prog$Race$_base_endurance"
        }, {
-               "full_name": "test_prog$Race$base_strength="
+               "full_name": "test_prog$Race$_base_intelligence"
        }, {
-               "full_name": "test_prog$Race$_base_endurance"
+               "full_name": "test_prog$Race$_base_strength"
        }, {
                "full_name": "test_prog$Race$base_endurance"
        }, {
                "full_name": "test_prog$Race$base_endurance="
        }, {
-               "full_name": "test_prog$Race$_base_intelligence"
-       }, {
                "full_name": "test_prog$Race$base_intelligence"
        }, {
                "full_name": "test_prog$Race$base_intelligence="
+       }, {
+               "full_name": "test_prog$Race$base_strength"
+       }, {
+               "full_name": "test_prog$Race$base_strength="
        }],
        "redef_mpropdefs": [{
                "full_name": "test_prog$Race$Object::init"
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Character"
        },
        "mpropdefs": [{
+               "full_name": "test_prog$Character$_age"
+       }, {
+               "full_name": "test_prog$Character$_career"
+       }, {
+               "full_name": "test_prog$Character$_health"
+       }, {
+               "full_name": "test_prog$Character$_name"
+       }, {
                "full_name": "test_prog$Character$_race"
        }, {
-               "full_name": "test_prog$Character$race"
+               "full_name": "test_prog$Character$_sex"
        }, {
-               "full_name": "test_prog$Character$race="
+               "full_name": "test_prog$Character$age"
        }, {
-               "full_name": "test_prog$Character$_career"
+               "full_name": "test_prog$Character$age="
        }, {
                "full_name": "test_prog$Character$career"
        }, {
                "full_name": "test_prog$Character$career="
        }, {
-               "full_name": "test_prog$Character$quit"
+               "full_name": "test_prog$Character$health"
        }, {
-               "full_name": "test_prog$Character$_name"
+               "full_name": "test_prog$Character$health="
+       }, {
+               "full_name": "test_prog$Character$Object::init"
+       }, {
+               "full_name": "test_prog$Character$max_health"
        }, {
                "full_name": "test_prog$Character$name"
        }, {
                "full_name": "test_prog$Character$name="
        }, {
-               "full_name": "test_prog$Character$_age"
-       }, {
-               "full_name": "test_prog$Character$age"
+               "full_name": "test_prog$Character$quit"
        }, {
-               "full_name": "test_prog$Character$age="
+               "full_name": "test_prog$Character$race"
        }, {
-               "full_name": "test_prog$Character$_sex"
+               "full_name": "test_prog$Character$race="
        }, {
                "full_name": "test_prog$Character$sex"
        }, {
                "full_name": "test_prog$Character$sex="
        }, {
-               "full_name": "test_prog$Character$total_strengh"
-       }, {
                "full_name": "test_prog$Character$total_endurance"
        }, {
                "full_name": "test_prog$Character$total_intelligence"
        }, {
-               "full_name": "test_prog$Character$max_health"
+               "full_name": "test_prog$Character$total_strengh"
+       }],
+       "intro_mproperties": [{
+               "full_name": "test_prog::character::Character::_age"
        }, {
-               "full_name": "test_prog$Character$_health"
+               "full_name": "test_prog::character::Character::_career"
        }, {
-               "full_name": "test_prog$Character$health"
+               "full_name": "test_prog::character::Character::_health"
        }, {
-               "full_name": "test_prog$Character$health="
+               "full_name": "test_prog::character::Character::_name"
        }, {
-               "full_name": "test_prog$Character$Object::init"
-       }],
-       "intro_mproperties": [{
                "full_name": "test_prog::character::Character::_race"
        }, {
-               "full_name": "test_prog::Character::race"
+               "full_name": "test_prog::character::Character::_sex"
        }, {
-               "full_name": "test_prog::Character::race="
+               "full_name": "test_prog::Character::age"
        }, {
-               "full_name": "test_prog::character::Character::_career"
+               "full_name": "test_prog::Character::age="
        }, {
                "full_name": "test_prog::Character::career"
        }, {
                "full_name": "test_prog::Character::career="
        }, {
-               "full_name": "test_prog::Character::quit"
+               "full_name": "test_prog::Character::health"
        }, {
-               "full_name": "test_prog::character::Character::_name"
+               "full_name": "test_prog::Character::health="
+       }, {
+               "full_name": "test_prog::Character::max_health"
        }, {
                "full_name": "test_prog::Character::name"
        }, {
                "full_name": "test_prog::Character::name="
        }, {
-               "full_name": "test_prog::character::Character::_age"
-       }, {
-               "full_name": "test_prog::Character::age"
+               "full_name": "test_prog::Character::quit"
        }, {
-               "full_name": "test_prog::Character::age="
+               "full_name": "test_prog::Character::race"
        }, {
-               "full_name": "test_prog::character::Character::_sex"
+               "full_name": "test_prog::Character::race="
        }, {
                "full_name": "test_prog::Character::sex"
        }, {
                "full_name": "test_prog::Character::sex="
        }, {
-               "full_name": "test_prog::Character::total_strengh"
-       }, {
                "full_name": "test_prog::Character::total_endurance"
        }, {
                "full_name": "test_prog::Character::total_intelligence"
        }, {
-               "full_name": "test_prog::Character::max_health"
-       }, {
-               "full_name": "test_prog::character::Character::_health"
-       }, {
-               "full_name": "test_prog::Character::health"
-       }, {
-               "full_name": "test_prog::Character::health="
+               "full_name": "test_prog::Character::total_strengh"
        }],
        "intro": {
                "full_name": "test_prog$Character"
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
+               "full_name": "test_prog$Character$_age"
+       }, {
+               "full_name": "test_prog$Character$_career"
+       }, {
+               "full_name": "test_prog$Character$_health"
+       }, {
+               "full_name": "test_prog$Character$_name"
+       }, {
                "full_name": "test_prog$Character$_race"
        }, {
-               "full_name": "test_prog$Character$race"
+               "full_name": "test_prog$Character$_sex"
        }, {
-               "full_name": "test_prog$Character$race="
+               "full_name": "test_prog$Character$age"
        }, {
-               "full_name": "test_prog$Character$_career"
+               "full_name": "test_prog$Character$age="
        }, {
                "full_name": "test_prog$Character$career"
        }, {
                "full_name": "test_prog$Character$career="
        }, {
-               "full_name": "test_prog$Character$quit"
+               "full_name": "test_prog$Character$health"
        }, {
-               "full_name": "test_prog$Character$_name"
+               "full_name": "test_prog$Character$health="
+       }, {
+               "full_name": "test_prog$Character$max_health"
        }, {
                "full_name": "test_prog$Character$name"
        }, {
                "full_name": "test_prog$Character$name="
        }, {
-               "full_name": "test_prog$Character$_age"
-       }, {
-               "full_name": "test_prog$Character$age"
+               "full_name": "test_prog$Character$quit"
        }, {
-               "full_name": "test_prog$Character$age="
+               "full_name": "test_prog$Character$race"
        }, {
-               "full_name": "test_prog$Character$_sex"
+               "full_name": "test_prog$Character$race="
        }, {
                "full_name": "test_prog$Character$sex"
        }, {
                "full_name": "test_prog$Character$sex="
        }, {
-               "full_name": "test_prog$Character$total_strengh"
-       }, {
                "full_name": "test_prog$Character$total_endurance"
        }, {
                "full_name": "test_prog$Character$total_intelligence"
        }, {
-               "full_name": "test_prog$Character$max_health"
-       }, {
-               "full_name": "test_prog$Character$_health"
-       }, {
-               "full_name": "test_prog$Character$health"
-       }, {
-               "full_name": "test_prog$Character$health="
+               "full_name": "test_prog$Character$total_strengh"
        }],
        "redef_mpropdefs": [{
                "full_name": "test_prog$Character$Object::init"
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "interface"],
+       "modifiers": ["interface"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "interface"],
+       "modifiers": ["interface"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Combatable"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Combatable$hit_points"
-       }, {
                "full_name": "test_prog$Combatable$attack"
        }, {
+               "full_name": "test_prog$Combatable$defend"
+       }, {
                "full_name": "test_prog$Combatable$direct_attack"
        }, {
-               "full_name": "test_prog$Combatable$defend"
+               "full_name": "test_prog$Combatable$hit_points"
        }, {
                "full_name": "test_prog$Combatable$is_dead"
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::Combatable::hit_points"
-       }, {
                "full_name": "test_prog::Combatable::attack"
        }, {
+               "full_name": "test_prog::Combatable::defend"
+       }, {
                "full_name": "test_prog::Combatable::direct_attack"
        }, {
-               "full_name": "test_prog::Combatable::defend"
+               "full_name": "test_prog::Combatable::hit_points"
        }, {
                "full_name": "test_prog::Combatable::is_dead"
        }],
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Combatable$hit_points"
-       }, {
                "full_name": "test_prog$Combatable$attack"
        }, {
+               "full_name": "test_prog$Combatable$defend"
+       }, {
                "full_name": "test_prog$Combatable$direct_attack"
        }, {
-               "full_name": "test_prog$Combatable$defend"
+               "full_name": "test_prog$Combatable$hit_points"
        }, {
                "full_name": "test_prog$Combatable$is_dead"
        }],
                }
        },
        "visibility": "public",
-       "modifiers": ["public", "interface"],
+       "modifiers": ["interface"],
        "location": {
                "column_end": 3,
                "column_start": 1,
                "full_name": "test_prog::Game"
        },
        "mpropdefs": [{
-               "full_name": "test_prog$Game$player_characters"
-       }, {
                "full_name": "test_prog$Game$computer_characters"
        }, {
-               "full_name": "test_prog$Game$start_game"
-       }, {
                "full_name": "test_prog$Game$pause_game"
        }, {
+               "full_name": "test_prog$Game$player_characters"
+       }, {
+               "full_name": "test_prog$Game$start_game"
+       }, {
                "full_name": "test_prog$Game$stop_game"
        }],
        "intro_mproperties": [{
-               "full_name": "test_prog::Game::player_characters"
-       }, {
                "full_name": "test_prog::Game::computer_characters"
        }, {
-               "full_name": "test_prog::Game::start_game"
-       }, {
                "full_name": "test_prog::Game::pause_game"
        }, {
+               "full_name": "test_prog::Game::player_characters"
+       }, {
+               "full_name": "test_prog::Game::start_game"
+       }, {
                "full_name": "test_prog::Game::stop_game"
        }],
        "intro": {
                "full_name": "test_prog"
        },
        "intro_mpropdefs": [{
-               "full_name": "test_prog$Game$player_characters"
-       }, {
                "full_name": "test_prog$Game$computer_characters"
        }, {
-               "full_name": "test_prog$Game$start_game"
-       }, {
                "full_name": "test_prog$Game$pause_game"
        }, {
+               "full_name": "test_prog$Game$player_characters"
+       }, {
+               "full_name": "test_prog$Game$start_game"
+       }, {
                "full_name": "test_prog$Game$stop_game"
        }],
        "redef_mpropdefs": []
        "full_name": "test_prog$Starter",
        "mdoc": null,
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 3,
                "column_start": 1,
        "full_name": "test_prog$Sys",
        "mdoc": null,
        "visibility": "public",
-       "modifiers": ["public", "class"],
+       "modifiers": ["class"],
        "location": {
                "column_end": 13,
                "column_start": 1,