Version: 0.4#5 (1998/2/24)
dcg_expansion)dcg_expansion)
phrase(Phrase,List)
Like phrase(Phrase,List,[]).
Meta-predicate with arguments: phrase(goal,?).
Meta-predicate with arguments: phrase(goal,?,?).
Usage: phrase(+Phrase,?(List),?(Remainder))
List is a phrase of type Phrase (according to the current grammar rules), where Phrase is either a non-terminal or more generally a grammar rule body. Remainder is what remains of the list after a phrase has been found.
phrase(+Phrase,?(List),?(Remainder)) may not conform the functionality documented.
(doc_props:doc_incomplete/1)
Performs the code expansion of source clauses that use DCGs.
Go to the first, previous, next, last section, table of contents.