45 lines
2.2 KiB
Python
45 lines
2.2 KiB
Python
from collections import namedtuple
|
|
|
|
asserta = namedtuple('asserta', 'clause')
|
|
assertz = namedtuple('assertz', 'clause')
|
|
bindvars = namedtuple('bindvars', 'list')
|
|
compile = namedtuple('compile', 'file')
|
|
completions = namedtuple('completions', 'text self')
|
|
dbms = namedtuple('dbms', 'filedbms')
|
|
errors = namedtuple('errors', 'fileng engee')
|
|
foreign = namedtuple('foreign', 'filedbms')
|
|
jupyter_query = namedtuple('jupyter_query', 'engine program query')
|
|
library = namedtuple('library', 'listfiles')
|
|
load_files = namedtuple('load_file', 'file opts')
|
|
ostreams = namedtuple('ostreams', ' text')
|
|
prolog_library=namedtuple('prolog_library', 'listfiles')
|
|
python_query = namedtuple('python_query', 'engine query')
|
|
set_prolog_flag = namedtuple('set_prolog_flag', 'flag new_value')
|
|
current_prolog_flag = namedtuple('current_prolog_flag', 'flag value')
|
|
show_answer = namedtuple('show_answer', 'vars dict')
|
|
streams = namedtuple('streams', 'text')
|
|
v = namedtuple('_', 'slot')
|
|
v0 = namedtuple('v', 'slot')
|
|
yap_flag = namedtuple('yap_flag', 'flag value new_value')
|
|
show_answer = namedtuple('show_answer', 'vars dict')
|
|
yap_query = namedtuple('yap_query', 'query owner')
|
|
yapi_query = namedtuple('yapi_query', 'vars dict')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|