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_calls
Dependencies:
(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:
static
Template:
zero_or_more(Closure,Terminals)
Meta-predicate template:
zero_or_more(1,*)
Mode and number of proofs:
zero_or_more(+callable,-list(atomic))
- one
one_or_more//2
ï
Eagerly collect one or more terminals that satisfy the given closure.
Compilation flags:
static
Template:
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_one
zero_or_more//1
ï
Eagerly collect zero or more terminals.
Compilation flags:
static
Template:
zero_or_more(Terminals)
Mode and number of proofs:
zero_or_more(-list(atomic))
- one
one_or_more//1
ï
Eagerly collect one or more terminals.
Compilation flags:
static
Template:
one_or_more(Terminals)
Mode and number of proofs:
one_or_more(-list(atomic))
- zero_or_one
zero_or_more//0
ï
Eagerly parse zero or more terminals.
Compilation flags:
static
Mode and number of proofs:
zero_or_more
- one
one_or_more//0
ï
Eagerly parse one or more terminals.
Compilation flags:
static
Mode and number of proofs:
one_or_more
- zero_or_one
without//2
ï
Collects input terminals until one of the stop terminals is found. The stop terminals are excluded from the collected terminals.
Compilation flags:
static
Template:
without(StopTerminals,Terminals)
Mode and number of proofs:
without(+list(atomic),-list(atomic))
- one
Protected predicatesï
(none)
Private predicatesï
(none)
Operatorsï
(none)