object
sequence_grammars
Sequence grammars.
Availability:
logtalk_load(grammars(loader))Author: Paulo Moura
Version: 0:3:0
Date: 2023-12-09
Compilation flags:
static, context_switching_callsDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
zero_or_more//2
Eagerly collect zero or more terminals that satisfy the given closure.
Compilation flags:
staticTemplate:
zero_or_more(Closure,Terminals)Meta-predicate template:
zero_or_more(1,*)Mode and number of proofs:
zero_or_more(+callable,-list(atomic)) - oneone_or_more//2
Eagerly collect one or more terminals that satisfy the given closure.
Compilation flags:
staticTemplate:
one_or_more(Closure,Terminals)Meta-predicate template:
one_or_more(1,*)Mode and number of proofs:
one_or_more(+callable,-list(atomic)) - zero_or_onezero_or_more//1
Eagerly collect zero or more terminals.
Compilation flags:
staticTemplate:
zero_or_more(Terminals)Mode and number of proofs:
zero_or_more(-list(atomic)) - oneone_or_more//1
Eagerly collect one or more terminals.
Compilation flags:
staticTemplate:
one_or_more(Terminals)Mode and number of proofs:
one_or_more(-list(atomic)) - zero_or_onezero_or_more//0
Eagerly parse zero or more terminals.
Compilation flags:
staticMode and number of proofs:
zero_or_more - oneone_or_more//0
Eagerly parse one or more terminals.
Compilation flags:
staticMode and number of proofs:
one_or_more - zero_or_onewithout//2
Collects input terminals until one of the stop terminals is found. The stop terminals are excluded from the collected terminals.
Compilation flags:
staticTemplate:
without(StopTerminals,Terminals)Mode and number of proofs:
without(+list(atomic),-list(atomic)) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)