Class Class

Summary


 This class provides information about a Unicon class.

Package:
lang
File:
class.icn
Methods:
get_implemented_classes, get_method, get_methods, get_name, get_supers, get_variables

Fields:
implemented_classes, methods, methods_map, name, oprec, state_instance, supers, variables

Source code.

Details
Constructor

Class(obj)

Methods:

get_implemented_classes()


 Get a set of the names of the implemented classes of this class
 (including this class itself).


get_method(s)


 Get the method with the given method name, or fail if there
 is no such method.


get_methods()


 Return the methods of the class, as a list


get_name()


 Return the name of the class


get_supers()


 Return a list of the names of the parent classes, in the order they were
 encountered in the record definition.


get_variables()


 Return the variable names of the class, in the order they would appear
 in an instance


Fields:
implemented_classes

methods

methods_map

name

oprec

state_instance

supers

variables


This page produced by UniDoc on 2021/04/15 @ 23:59:53.