EmbASP-Theoretic v7.1.0
|
Public Member Functions | |
def | __init__ (self) |
def | get_class (self, predicate) |
def | get_object (self, atom) |
def | register_class (self, cl) |
def | unregister_class (self, cl) |
def | get_string (self, obj) |
Base class, contains methods used to transform Objects into InputProgram.
def languages.mapper.Mapper.__init__ | ( | self | ) |
def languages.mapper.Mapper.get_class | ( | self, | |
predicate | |||
) |
Returns a string for the given predicate name string.
def languages.mapper.Mapper.get_object | ( | self, | |
atom | |||
) |
Returns an Object for the given string. The parameter string is a string from which data are extrapolated. The method return a Object for the given string data.
def languages.mapper.Mapper.get_string | ( | self, | |
obj | |||
) |
Returns data for the given Object. The parameter obj is the Object from which data are extrapolated. The method return a string data for the given Object in a String format.
def languages.mapper.Mapper.register_class | ( | self, | |
cl | |||
) |
Insert an object into _predicate_class. The method return a string representing pairing key of _predicate_class.
def languages.mapper.Mapper.unregister_class | ( | self, | |
cl | |||
) |
Remove an object from _predicate_class.