Common Lisp Package: CL-STRING-COMPLETE

String completion API.

README:

FUNCTION

Public

COMPLETION-TREE-ADD

Add a string STR to the ternary tree TREE.

COMPLETION-TREE-ADD*

Add a list of strings to TREE. The strings are suffled to help balance the tree.

COMPLETION-TREE-CONTAINS-P

Check if TREE contains the word STR.

Undocumented

COMPLETION-TREE-P (OBJECT)

MAKE-COMPLETION-TREE

Private

COMPLETION-NODE

Make a fresh ternary node. with character CHAR.

COMPLETION-NODE-COMPLETIONS

Walk the children of NODE to find all completions.

COMPLETION-NODE-PRINTER

Printer for ternary nodes.

COMPLETION-NODE.CHAR (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPLETION-NODE.ENDP (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPLETION-NODE.LEFT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPLETION-NODE.MIDDLE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPLETION-NODE.RIGHT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPLETION-TREE-PRINTER

Printer for ternary trees.

COMPLETION-TREE.ROOT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

COMPLETION-NODE-P (OBJECT)

SETFCOMPLETION-NODE.ENDP (NEW-VALUE INSTANCE)

SETFCOMPLETION-NODE.LEFT (NEW-VALUE INSTANCE)

SETFCOMPLETION-NODE.MIDDLE (NEW-VALUE INSTANCE)

SETFCOMPLETION-NODE.RIGHT (NEW-VALUE INSTANCE)

SETFCOMPLETION-TREE.ROOT (NEW-VALUE INSTANCE)

COPY-COMPLETION-NODE (INSTANCE)

COPY-COMPLETION-TREE (INSTANCE)

MAKE-COMPLETION-NODE

GENERIC-FUNCTION

Public

COMPUTE-COMPLETIONS (NODE ITEM &KEY LIMIT PREFIXEDP)

Compute the completions of of ITEM given a node or tree NODE. If an integer limit LIMIT is given, then only a maximum of LIMIT completions will be given. If PREFIXEDP is true, then the completions will include the prefix.

Private

COMPLETION-NODE-TRAVEL (NODE ITEM)

Travel to the next node from NODE along the branch(es) specified by ITEM.

CLASS

Public

Undocumented

COMPLETION-TREE

Private

Undocumented

COMPLETION-NODE