Introduced classes

class APICatalogContributing

nitc :: APICatalogContributing

Get the list of mpackages contributed by a person
class APICatalogMaintaining

nitc :: APICatalogMaintaining

Get the list of mpackages maintained by a person
class APICatalogPackages

nitc :: APICatalogPackages

Get all the packages from the catalog using pagination
class APICatalogPerson

nitc :: APICatalogPerson

Get a person existing in the catalog
class APICatalogStats

nitc :: APICatalogStats

Get the catalog statistics
class APICatalogTag

nitc :: APICatalogTag

Get the packages related to a tag
class APICatalogTags

nitc :: APICatalogTags

Get all the tags from the catalog
abstract class APICommand

nitc :: APICommand

An API Handler that use a DocCommand to respond
class APIEntity

nitc :: APIEntity

Return the JSON representation of a MEntity.
class APIEntityAll

nitc :: APIEntityAll

List all definitions accessible from a MEntity.
class APIEntityAncestors

nitc :: APIEntityAncestors

List MEntity ancestors
class APIEntityChildren

nitc :: APIEntityChildren

List MEntity children
class APIEntityCode

nitc :: APIEntityCode

Return the source code of MEntity.
class APIEntityDefs

nitc :: APIEntityDefs

List definitions of a MEntity.
class APIEntityDescendants

nitc :: APIEntityDescendants

List MEntity descendants
class APIEntityDoc

nitc :: APIEntityDoc

Return the full MDoc of a MEntity.
class APIEntityIntros

nitc :: APIEntityIntros

List intro definitions of a MEntity.
class APIEntityLinearization

nitc :: APIEntityLinearization

Linearize super definitions of a MClassDef or a MPropDef if any.
class APIEntityMetadata

nitc :: APIEntityMetadata

Get the package metadata
class APIEntityParents

nitc :: APIEntityParents

List MEntity parents
class APIEntityRedefs

nitc :: APIEntityRedefs

List redef definitions of a MEntity.
class APIEntityUML

nitc :: APIEntityUML

Return the UML diagram for MEntity.
class APIInheritanceGraph

nitc :: APIInheritanceGraph

Return the inheritance graph for MEntity.
class APIIniClone

nitc :: APIIniClone

Get the package Git clone command from the ini file
class APIIniContribFile

nitc :: APIIniContribFile

Get the package contrib file
class APIIniContribFileContent

nitc :: APIIniContribFileContent

Get the package contrib file content
class APIIniContributors

nitc :: APIIniContributors

Get the package contributors from the ini file
class APIIniDesc

nitc :: APIIniDesc

Get the package description from the ini file
class APIIniGit

nitc :: APIIniGit

Get the package Git URL from the ini file
class APIIniIssues

nitc :: APIIniIssues

Get the package issues URL from the ini file
class APIIniLicense

nitc :: APIIniLicense

Get the package license from the ini file
class APIIniLicenseFile

nitc :: APIIniLicenseFile

Get the package license file
class APIIniLicenseFileContent

nitc :: APIIniLicenseFileContent

Get the package license file content
class APIIniMaintainer

nitc :: APIIniMaintainer

Get the package maintainer from the ini file
class APIList

nitc :: APIList

List all mentities.
class APIRandom

nitc :: APIRandom

Return a random list of MEntities.
class APISearch

nitc :: APISearch

Search mentities from a cmd string.

Redefined classes

redef class APIRouter

nitc :: api_model $ APIRouter

A Rooter dedicated to APIHandlers.

All class definitions

class APICatalogContributing

nitc $ APICatalogContributing

Get the list of mpackages contributed by a person
class APICatalogMaintaining

nitc $ APICatalogMaintaining

Get the list of mpackages maintained by a person
class APICatalogPackages

nitc $ APICatalogPackages

Get all the packages from the catalog using pagination
class APICatalogPerson

nitc $ APICatalogPerson

Get a person existing in the catalog
class APICatalogStats

nitc $ APICatalogStats

Get the catalog statistics
class APICatalogTag

nitc $ APICatalogTag

Get the packages related to a tag
class APICatalogTags

nitc $ APICatalogTags

Get all the tags from the catalog
abstract class APICommand

nitc $ APICommand

An API Handler that use a DocCommand to respond
class APIEntity

nitc $ APIEntity

Return the JSON representation of a MEntity.
class APIEntityAll

nitc $ APIEntityAll

List all definitions accessible from a MEntity.
class APIEntityAncestors

nitc $ APIEntityAncestors

List MEntity ancestors
class APIEntityChildren

nitc $ APIEntityChildren

List MEntity children
class APIEntityCode

nitc $ APIEntityCode

Return the source code of MEntity.
class APIEntityDefs

nitc $ APIEntityDefs

List definitions of a MEntity.
class APIEntityDescendants

nitc $ APIEntityDescendants

List MEntity descendants
class APIEntityDoc

nitc $ APIEntityDoc

Return the full MDoc of a MEntity.
class APIEntityIntros

nitc $ APIEntityIntros

List intro definitions of a MEntity.
class APIEntityLinearization

nitc $ APIEntityLinearization

Linearize super definitions of a MClassDef or a MPropDef if any.
class APIEntityMetadata

nitc $ APIEntityMetadata

Get the package metadata
class APIEntityParents

nitc $ APIEntityParents

List MEntity parents
class APIEntityRedefs

nitc $ APIEntityRedefs

List redef definitions of a MEntity.
class APIEntityUML

nitc $ APIEntityUML

Return the UML diagram for MEntity.
class APIInheritanceGraph

nitc $ APIInheritanceGraph

Return the inheritance graph for MEntity.
class APIIniClone

nitc $ APIIniClone

Get the package Git clone command from the ini file
class APIIniContribFile

nitc $ APIIniContribFile

Get the package contrib file
class APIIniContribFileContent

nitc $ APIIniContribFileContent

Get the package contrib file content
class APIIniContributors

nitc $ APIIniContributors

Get the package contributors from the ini file
class APIIniDesc

nitc $ APIIniDesc

Get the package description from the ini file
class APIIniGit

nitc $ APIIniGit

Get the package Git URL from the ini file
class APIIniIssues

nitc $ APIIniIssues

Get the package issues URL from the ini file
class APIIniLicense

nitc $ APIIniLicense

Get the package license from the ini file
class APIIniLicenseFile

nitc $ APIIniLicenseFile

Get the package license file
class APIIniLicenseFileContent

nitc $ APIIniLicenseFileContent

Get the package license file content
class APIIniMaintainer

nitc $ APIIniMaintainer

Get the package maintainer from the ini file
class APIList

nitc $ APIList

List all mentities.
class APIRandom

nitc $ APIRandom

Return a random list of MEntities.
redef class APIRouter

nitc :: api_model $ APIRouter

A Rooter dedicated to APIHandlers.
class APISearch

nitc $ APISearch

Search mentities from a cmd string.
package_diagram nitc::api_model api_model nitc::api_base api_base nitc::api_model->nitc::api_base popcorn popcorn nitc::api_base->popcorn popcorn::pop_repos pop_repos nitc::api_base->popcorn::pop_repos popcorn::pop_json pop_json nitc::api_base->popcorn::pop_json nitc::commands_http commands_http nitc::api_base->nitc::commands_http nitc::json_commands json_commands nitc::api_base->nitc::json_commands nitc::html_commands html_commands nitc::api_base->nitc::html_commands ...popcorn ... ...popcorn->popcorn ...popcorn::pop_repos ... ...popcorn::pop_repos->popcorn::pop_repos ...popcorn::pop_json ... ...popcorn::pop_json->popcorn::pop_json ...nitc::commands_http ... ...nitc::commands_http->nitc::commands_http ...nitc::json_commands ... ...nitc::json_commands->nitc::json_commands ...nitc::html_commands ... ...nitc::html_commands->nitc::html_commands nitc::api_docdown api_docdown nitc::api_docdown->nitc::api_model nitc::api api nitc::api->nitc::api_docdown nitc::api... ... nitc::api...->nitc::api

Ancestors

module abstract_collection

core :: abstract_collection

Abstract collection classes and services.
module abstract_text

core :: abstract_text

Abstract class for manipulation of sequences of characters
module abstract_tree

trees :: abstract_tree

Introduce tree structures abstraction
module actors_injection_phase

nitc :: actors_injection_phase

Injects model for the classes annotated with "is actor" so
module annotation

nitc :: annotation

Management and utilities on annotations
module array

core :: array

This module introduces the standard array structure.
module astbuilder

nitc :: astbuilder

Instantiation and transformation of semantic nodes in the AST of expressions and statements
module astutil

nitc :: astutil

Additional features on Nit AST
module auto_super_init

nitc :: auto_super_init

Computing of super-constructors that must be implicitly called at the begin of constructors.
module base64

base64 :: base64

Offers the base 64 encoding and decoding algorithms
module bintree

trees :: bintree

Binary Tree data-structure
module bitset

core :: bitset

Services to handle BitSet
module bktree

trees :: bktree

Implementation of BKTree
module bootstrap

html :: bootstrap

HTML templates for Bootstrap components.
module bytes

core :: bytes

Services for byte streams and arrays
module c

c :: c

Structures and services for compatibility with the C language
module caching

serialization :: caching

Services for caching serialization engines
module catalog

nitc :: catalog

Basic catalog generator for Nit packages
module check_annotation

nitc :: check_annotation

Check that annotation present in the AST are either primitive or user-declared
module circular_array

core :: circular_array

Efficient data structure to access both end of the sequence.
module codec_base

core :: codec_base

Base for codecs to use with streams
module codecs

core :: codecs

Group module for all codec-related manipulations
module collection

core :: collection

This module define several collection classes.
module commands_base

nitc :: commands_base

Documentation commands
module commands_catalog

nitc :: commands_catalog

Commands to retrieve Catalog related data
module commands_docdown

nitc :: commands_docdown

Doc down related queries
module commands_graph

nitc :: commands_graph

Graph commands
module commands_http

nitc :: commands_http

Initialize commands from HTTP requests
module commands_model

nitc :: commands_model

Doc commands about a Model or a MEntity
module commands_parser

nitc :: commands_parser

A parser that create DocCommand from a string
module commands_usage

nitc :: commands_usage

Commands about how mentities are used
module config

config :: config

Configuration options for nit tools and apps
module console

console :: console

Defines some ANSI Terminal Control Escape Sequences.
module core

core :: core

Standard classes and methods used by default by Nit programs and libraries.
module counter

counter :: counter

Simple numerical statistical analysis and presentation
module csv

csv :: csv

CSV document handling.
module deriving

nitc :: deriving

Injection of automatic method definitions for standard methods, based on the attributes of the classes
module digraph

graph :: digraph

Implementation of directed graphs, also called digraphs.
module div_by_zero

nitc :: div_by_zero

Detection of divisions by zero in obvious cases
module dot

dot :: dot

Dot rendering library
module engine_tools

serialization :: engine_tools

Advanced services for serialization engines
module environ

core :: environ

Access to the environment variables of the process
module error

core :: error

Standard error-management infrastructure.
module error

json :: error

Intro JsonParseError which is exposed by all JSON reading APIs
module exec

core :: exec

Invocation and management of operating system sub-processes.
module file

core :: file

File manipulations (create, read, write, etc.)
module file_server

nitcorn :: file_server

Provides the FileServer action, which is a standard and minimal file server
module fixed_ints

core :: fixed_ints

Basic integers of fixed-precision
module fixed_ints_text

core :: fixed_ints_text

Text services to complement fixed_ints
module flat

core :: flat

All the array-based text representations
module flow

nitc :: flow

Intraprocedural static flow.
module frontend

nitc :: frontend

Collect and orchestration of main frontend phases
module gc

core :: gc

Access to the Nit internal garbage collection mechanism
module glsl_validation

nitc :: glsl_validation

Check shader code within Nit modules using the tool glslangValidator
module hash_collection

core :: hash_collection

Introduce HashMap and HashSet.
module highlight

nitc :: highlight

Highlighting of Nit AST
module html

html :: html

HTML output facilities
module html_commands

nitc :: html_commands

Render commands results as HTML
module html_model

nitc :: html_model

Translate mentities to html blocks.
module htmlight

nitc :: htmlight

Highlighting of Nit AST with HTML
module http_errors

nitcorn :: http_errors

Offers ErrorTemplate to display error pages
module http_request

nitcorn :: http_request

Provides the HttpRequest class and services to create it
module http_request_buffer

nitcorn :: http_request_buffer

Http request parsing for buffered inputs.
module http_response

nitcorn :: http_response

Provides the HttpResponse class and http_status_codes
module i18n_phase

nitc :: i18n_phase

Basic support of internationalization through the generation of id-to-string tables
module ini

ini :: ini

Read and write INI configuration files
module inspect

serialization :: inspect

Refine Serializable::inspect to show more useful information
module iso8859_1

core :: iso8859_1

Codec for ISO8859-1 I/O
module json

json :: json

Read and write JSON formatted text using the standard serialization services
module json_commands

nitc :: json_commands

Translate command results to json
module json_model

nitc :: json_model

Make model entities Serializable.
module kernel

core :: kernel

Most basic classes and methods.
module lexer

nitc :: lexer

Lexer and its tokens.
module lexer_work

nitc :: lexer_work

Internal algorithm and data structures for the Nit lexer
module libevent

libevent :: libevent

Low-level wrapper around the libevent library to manage events on file descriptors
module list

core :: list

This module handle double linked lists
module literal

nitc :: literal

Parsing of literal values in the abstract syntax tree.
module loader

nitc :: loader

Loading of Nit source files
module local_var_init

nitc :: local_var_init

Verify that local variables are initialized before their usage
module location

nitc :: location

Nit source-file and locations in source-file
module logger

logger :: logger

A simple logger for Nit
module markdown

markdown :: markdown

Markdown parsing.
module math

core :: math

Mathematical operations
module md5

md5 :: md5

Native MD5 digest implementation as Text::md5
module md_commands

nitc :: md_commands

Render commands results as Markdown
module mdoc

nitc :: mdoc

Documentation of model entities
module media_types

nitcorn :: media_types

Services to identify Internet media types (or MIME types, Content-types)
module meta

meta :: meta

Simple user-defined meta-level to manipulate types of instances as object.
module mmodule

nitc :: mmodule

modules and module hierarchies in the metamodel
module mmodule_data

nitc :: mmodule_data

Define and retrieve data in modules
module model

nitc :: model

Classes, types and properties
module model_base

nitc :: model_base

The abstract concept of model and related common things
module model_collect

nitc :: model_collect

Collect things from the model.
module model_examples

nitc :: model_examples

Examples for Model entities
module model_index

nitc :: model_index

Search things from the Model
module modelbuilder_base

nitc :: modelbuilder_base

Load nit source files and build the associated model
module modelize

nitc :: modelize

Create a model from nit source files
module modelize_class

nitc :: modelize_class

Analysis and verification of class definitions to instantiate model element
module modelize_property

nitc :: modelize_property

Analysis and verification of property definitions to instantiate model element
module mongodb

mongodb :: mongodb

MongoDB Nit Driver.
module more_collections

more_collections :: more_collections

Highly specific, but useful, collections-related classes.
module mpackage

nitc :: mpackage

Modelisation of a Nit package
module native

core :: native

Native structures for text and bytes
module native_mongodb

mongodb :: native_mongodb

Native wrapper for the MongoDB C Driver
module nitcorn

nitcorn :: nitcorn

The nitcorn Web server framework creates server-side Web apps in Nit
module nitpm_shared

nitc :: nitpm_shared

Services related to the Nit package manager
module no_warning

nitc :: no_warning

Fill toolcontext information about blacklisting of warnings.
module numeric

core :: numeric

Advanced services for Numeric types
module opts

opts :: opts

Management of options on the command line
module ordered_tree

ordered_tree :: ordered_tree

Manipulation and presentation of ordered trees.
module parallelization_phase

nitc :: parallelization_phase

Phase generating threads for functions annotated with threaded annotation
module parse_annotations

nitc :: parse_annotations

Simple annotation parsing
module parser

nitc :: parser

Parser.
module parser_base

parser_base :: parser_base

Simple base for hand-made parsers of all kinds
module parser_nodes

nitc :: parser_nodes

AST nodes of the Nit language
module parser_prod

nitc :: parser_prod

Production AST nodes full definition.
module parser_util

nitc :: parser_util

Utils and tools related to parsers and AST
module parser_work

nitc :: parser_work

Internal algorithm and data structures for the Nit parser
module phase

nitc :: phase

Phases of the processing of nit programs
module pipeline

pipeline :: pipeline

Pipelined filters and operations on iterators.
module pop_config

popcorn :: pop_config

Configuration file and options for Popcorn apps
module pop_handlers

popcorn :: pop_handlers

Route handlers.
module pop_json

popcorn :: pop_json

Introduce useful services for JSON REST API handlers.
module pop_repos

popcorn :: pop_repos

Repositories for data management.
module pop_routes

popcorn :: pop_routes

Internal routes representation.
module pop_sessions

popcorn :: pop_sessions

Session handlers
module pop_tasks

popcorn :: pop_tasks

Popcorn threaded tasks
module pop_validation

popcorn :: pop_validation

Quick and easy validation framework for Json inputs
module popcorn

popcorn :: popcorn

Application server abstraction on top of nitcorn.
module poset

poset :: poset

Pre order sets and partial order set (ie hierarchies)
module protocol

core :: protocol

module pthreads

pthreads :: pthreads

Main POSIX threads support and intro the classes Thread, Mutex and Barrier
module queries

mongodb :: queries

Mongo queries framework
module queue

core :: queue

Queuing data structures and wrappers
module range

core :: range

Module for range of discrete objects.
module rbtree

trees :: rbtree

A red–black tree is a data structure which is a type of self-balancing binary search tree.
module re

core :: re

Regular expression support for all services based on Pattern
module reactor

nitcorn :: reactor

Core of the nitcorn project, provides HttpFactory and Action
module realtime

realtime :: realtime

Services to keep time of the wall clock time
module regex_phase

nitc :: regex_phase

Check for error in regular expressions from string literals
module ropes

core :: ropes

Tree-based representation of a String.
module safe

serialization :: safe

Services for safer deserialization engines
module scope

nitc :: scope

Identification and scoping of local variables and labels.
module semantize

nitc :: semantize

Process bodies of methods in regard with the model.
module serialization

serialization :: serialization

General serialization services
module serialization_core

serialization :: serialization_core

Abstract services to serialize Nit objects to different formats
module serialization_model_phase

nitc :: serialization_model_phase

Phase generating methods (model-only) to serialize Nit objects
module serialization_read

json :: serialization_read

Services to read JSON: deserialize_json and JsonDeserializer
module serialization_write

json :: serialization_write

Services to write Nit objects to JSON strings: serialize_to_json and JsonSerializer
module server_config

nitcorn :: server_config

Classes and services to configure the server
module sessions

nitcorn :: sessions

Automated session management
module signal_handler

nitcorn :: signal_handler

Handle SIGINT and SIGTERM to close the server after all active events
module simple_misc_analysis

nitc :: simple_misc_analysis

Simple vavious processing on a AST
module sorter

core :: sorter

This module contains classes used to compare things and sorts arrays.
module static

json :: static

Static interface to read Nit objects from JSON strings
module stream

core :: stream

Input and output streams of characters
module tables

nitc :: tables

Module that interfaces the parsing tables.
module template

template :: template

Basic template system
module text

core :: text

All the classes and methods related to the manipulation of text entities
module time

core :: time

Management of time and dates
module token

nitcorn :: token

Simple generate_token service, independent of the rest of the nitcorn framework
module toolcontext

nitc :: toolcontext

Common command-line tool infrastructure than handle options and error messages
module trees

trees :: trees

General module for tree data structures
module trie

trees :: trie

A trie (or prefix tree) is a datastructure used to perform prefix searches.
module typing

nitc :: typing

Intraprocedural resolution of static types and OO-services
module uml

nitc :: uml

Group head module for UML generation services
module uml_base

nitc :: uml_base

Exposes the base class for UML generation of a Model
module uml_class

nitc :: uml_class

Provides facilities of exporting a Model to a UML class diagram
module uml_module

nitc :: uml_module

Services for generation of a UML package diagram based on a Model
module union_find

core :: union_find

union–find algorithm using an efficient disjoint-set data structure
module utf8

core :: utf8

Codec for UTF-8 I/O
module vararg_routes

nitcorn :: vararg_routes

Routes with parameters.
module version

nitc :: version

This file was generated by git-gen-version.sh

Parents

module api_base

nitc :: api_base

Base classes used by nitweb.

Children

module api_docdown

nitc :: api_docdown

Nitdoc specific Markdown format handling for Nitweb

Descendants

module a_star-m

a_star-m

module api

nitc :: api

Components required to build a web server about the nit model.
module nitweb

nitc :: nitweb

Runs a webserver based on nitcorn that render things from model.
module api_model

import api_base

redef class APIRouter
	redef init do
		super
		use("/list", new APIList(config))
		use("/random", new APIRandom(config))
		use("/search", new APISearch(config))

		use("/entity/:id", new APIEntity(config))
		use("/doc/:id", new APIEntityDoc(config))
		use("/code/:id", new APIEntityCode(config))
		use("/lin/:id", new APIEntityLinearization(config))
		use("/defs/:id", new APIEntityDefs(config))
		use("/intros/:id", new APIEntityIntros(config))
		use("/redefs/:id", new APIEntityRedefs(config))
		use("/meta/:id", new APIEntityMetadata(config))
		use("/all/:id", new APIEntityAll(config))

		use("/ancestors/:id", new APIEntityAncestors(config))
		use("/parents/:id", new APIEntityParents(config))
		use("/children/:id", new APIEntityChildren(config))
		use("/descendants/:id", new APIEntityDescendants(config))

		use("/uml/:id", new APIEntityUML(config))
		use("/graph/inheritance/:id", new APIInheritanceGraph(config))

		use("/catalog/packages/", new APICatalogPackages(config))
		use("/catalog/stats", new APICatalogStats(config))
		use("/catalog/tags", new APICatalogTags(config))
		use("/catalog/tag/:tid", new APICatalogTag(config))
		use("/catalog/person/:pid", new APICatalogPerson(config))
		use("/catalog/person/:pid/maintaining", new APICatalogMaintaining(config))
		use("/catalog/person/:pid/contributing", new APICatalogContributing(config))

		use("/ini/desc/:id", new APIIniDesc(config))
		use("/ini/git/:id", new APIIniGit(config))
		use("/ini/clone/:id", new APIIniClone(config))
		use("/ini/issues/:id", new APIIniIssues(config))
		use("/ini/maintainer/:id", new APIIniMaintainer(config))
		use("/ini/contributors/:id", new APIIniContributors(config))
		use("/ini/license/:id", new APIIniLicense(config))
		use("/ini/license-file/:id", new APIIniLicenseFile(config))
		use("/ini/license-content/:id", new APIIniLicenseFileContent(config))
		use("/ini/contrib-file/:id", new APIIniContribFile(config))
		use("/ini/contrib-content/:id", new APIIniContribFileContent(config))
	end
end

# An API Handler that use a DocCommand to respond
abstract class APICommand
	super APIHandler

	# Return the doc command to apply for self
	fun command: DocCommand is abstract

	redef fun get(req, res) do
		var command = self.command
		var status = command.http_init(req)
		if status isa CmdError then
			res.api_error(status.http_status_code, status.to_s)
			return
		end
		res.api_json(req, command.to_json)
	end
end

# CmdModel

# List all mentities.
#
# Example: `GET /list?kind=modules?limit=10`
class APIList
	super APICommand

	redef fun command do return new CmdModelEntities(config.model)
end

# Return a random list of MEntities.
#
# Example: `GET /random?kind=modules&limit=10`
class APIRandom
	super APICommand

	redef fun command do return new CmdRandomEntities(config.model)
end

# Search mentities from a cmd string.
#
# Example: `GET /search?q=Arr`
class APISearch
	super APIList

	redef fun command do return new CmdCatalogSearch(config.model, config.catalog)
end

# CmdEntity

# Return the JSON representation of a MEntity.
#
# Example: `GET /entity/core::Array`
class APIEntity
	super APICommand

	redef fun command do return new CmdEntity(config.model)
end

# Return the full MDoc of a MEntity.
#
# Example: `GET /entity/core::Array/doc`
class APIEntityDoc
	super APICommand

	redef fun command do return new CmdComment(config.model)
end

# List MEntity ancestors
#
# Example: `GET /ancestors/core::Array`
class APIEntityAncestors
	super APICommand

	redef fun command do return new CmdAncestors(config.model, config.mainmodule)
end

# List MEntity parents
#
# Example: `GET /parents/core::Array`
class APIEntityParents
	super APICommand

	redef fun command do return new CmdParents(config.model, config.mainmodule)
end

# List MEntity children
#
# Example: `GET /children/core::Array`
class APIEntityChildren
	super APICommand

	redef fun command do return new CmdChildren(config.model, config.mainmodule)
end

# List MEntity descendants
#
# Example: `GET /descendants/core::Array`
class APIEntityDescendants
	super APICommand

	redef fun command do return new CmdDescendants(config.model, config.mainmodule)
end

# Linearize super definitions of a MClassDef or a MPropDef if any.
#
# Example: `GET /linearization/core::Array`
class APIEntityLinearization
	super APICommand

	redef fun command do return new CmdLinearization(config.model, config.mainmodule)
end

# List definitions of a MEntity.
#
# Example: `GET /defs/core::Array`
class APIEntityDefs
	super APICommand

	redef fun command do return new CmdFeatures(config.model)
end

# List intro definitions of a MEntity.
#
# Example: `GET /intros/core::Array`
class APIEntityIntros
	super APICommand

	redef fun command do return new CmdIntros(config.model, config.mainmodule)
end

# List redef definitions of a MEntity.
#
# Example: `GET /redefs/core::Array`
class APIEntityRedefs
	super APICommand

	redef fun command do return new CmdRedefs(config.model, config.mainmodule)
end

# List all definitions accessible from a MEntity.
#
# Example: `GET /all/core::Array`
class APIEntityAll
	super APICommand

	redef fun command do return new CmdAllProps(config.model, config.mainmodule)
end

# Return the source code of MEntity.
#
# Example: `GET /code/core::Array`
class APIEntityCode
	super APICommand

	redef fun command do return new CmdEntityCode(config.model, config.modelbuilder)
end

# Return the UML diagram for MEntity.
#
# Example: `GET /uml/core::Array`
class APIEntityUML
	super APICommand

	redef fun command do return new CmdUML(config.model, config.mainmodule)
end

# Return the inheritance graph for MEntity.
#
# Example: `GET /inheritance/core::Array`
class APIInheritanceGraph
	super APICommand

	redef fun command do return new CmdInheritanceGraph(config.model, config.mainmodule)
end

# CmdCatalog

# Get all the packages from the catalog using pagination
#
# `GET /packages?p=1&n=10`: get the list of catalog by page
class APICatalogPackages
	super APICommand

	redef fun command do return new CmdCatalogPackages(config.model, config.catalog)
end

# Get the catalog statistics
#
# `GET /stats`: return the catalog statistics
class APICatalogStats
	super APICommand

	redef fun command do return new CmdCatalogStats(config.model, config.catalog)
end

# Get the package metadata
#
# `GET /:id/metadata`: return a paginated list of packages
class APIEntityMetadata
	super APICommand

	redef fun command do return new CmdMetadata(config.model)
end

# Get all the tags from the catalog
#
# `GET /tags`: the list of tags associated with their number of packages
class APICatalogTags
	super APICommand

	redef fun command do return new CmdCatalogTags(config.model, config.catalog)
end

# Get the packages related to a tag
#
# `GET /tag/:tid?p=1&n=10`: return a paginated list of packages
class APICatalogTag
	super APICommand

	redef fun command do return new CmdCatalogTag(config.model, config.catalog)
end

# Get a person existing in the catalog
#
# `GET /person/:pid`: get the person with `pid`
class APICatalogPerson
	super APICommand

	redef fun command do return new CmdCatalogPerson(config.model, config.catalog)
end

# Get the list of mpackages maintained by a person
#
# `GET /person/:pid/maintaining?p=1&n=10`: return a paginated list of packages
class APICatalogMaintaining
	super APICommand

	redef fun command do return new CmdCatalogMaintaining(config.model, config.catalog)
end

# Get the list of mpackages contributed by a person
#
# `GET /person/:pid/contributing?p=1&n=10`: return a paginated list of packages
class APICatalogContributing
	super APICommand

	redef fun command do return new CmdCatalogContributing(config.model, config.catalog)
end

# CmdIni

# Get the package description from the ini file
#
# `GET /ini/desc/:pid`: return the package description
class APIIniDesc
	super APICommand

	redef fun command do return new CmdIniDescription(config.model)
end

# Get the package Git URL from the ini file
#
# `GET /ini/git/:pid`: return the package Git URL
class APIIniGit
	super APICommand

	redef fun command do return new CmdIniGitUrl(config.model)
end

# Get the package Git clone command from the ini file
#
# `GET /ini/clone/:pid`: return the package Git clone command
class APIIniClone
	super APICommand

	redef fun command do return new CmdIniCloneCommand(config.model)
end

# Get the package issues URL from the ini file
#
# `GET /ini/issues/:pid`: return the package issues URL
class APIIniIssues
	super APICommand

	redef fun command do return new CmdIniIssuesUrl(config.model)
end

# Get the package maintainer from the ini file
#
# `GET /ini/maintainer/:pid`: return the package maintainer
class APIIniMaintainer
	super APICommand

	redef fun command do return new CmdIniMaintainer(config.model)
end

# Get the package contributors from the ini file
#
# `GET /ini/clone/:pid`: return the package contributors
class APIIniContributors
	super APICommand

	redef fun command do return new CmdIniContributors(config.model)
end

# Get the package license from the ini file
#
# `GET /ini/clone/:pid`: return the package license
class APIIniLicense
	super APICommand

	redef fun command do return new CmdIniLicense(config.model)
end

# Get the package license file
#
# `GET /ini/license-file/:pid`: return the package license file
class APIIniLicenseFile
	super APICommand

	redef fun command do return new CmdLicenseFile(config.model)
end

# Get the package contrib file
#
# `GET /ini/contrib-file/:pid`: return the package contrib file
class APIIniContribFile
	super APICommand

	redef fun command do return new CmdContribFile(config.model)
end

# Get the package license file content
#
# `GET /ini/license-file/:pid`: return the package license file content
class APIIniLicenseFileContent
	super APICommand

	redef fun command do return new CmdLicenseFileContent(config.model)
end

# Get the package contrib file content
#
# `GET /ini/contrib-file/:pid`: return the package contrib file content
class APIIniContribFileContent
	super APICommand

	redef fun command do return new CmdContribFileContent(config.model)
end
src/doc/api/api_model.nit:15,1--414,3