token: 'token' is a new primitive that ignores any space before and...

Description Usage Arguments See Also Examples

Description

token is a new primitive that ignores any space before and after applying a parser to a token.

Usage

1
token(p)

Arguments

p

is the parser to have spaces stripped.

See Also

Digit, Lower, Upper, Alpha, AlphaNum, SpaceCheck, String, ident, nat, space, identifier, natural, symbol

Examples

1
token(ident()) ("   variable1   ")

chappers/Ramble documentation built on May 13, 2019, 3:30 p.m.