ecoli_complete - Man Page
Name
ecoli_complete — Complete
— Complete string input using a grammar graph.
Synopsis
Detailed Description
Complete string input using a grammar graph.
This file provides helpers to list and manipulate the possible completions for a given input.
Use ec_complete_strvec() to complete a vector of strings when the input is already split into several tokens. You can use ec_complete() if you know that the size of the vector is
- 1.
This is common if your grammar graph includes a lexer that will tokenize the input.
These two functions return a pointer to an ec_comp structure, that lists the possible completions. The completions are grouped into ec_comp_group. All completions items of a group shares the same parsing state and are issued by the same node.
Author
Generated automatically by Doxygen for Libecoli from the source code.