jaskell.parsec
Type members
Classlikes
Ahead use a parser to parse state, return the result and rollback whatever
Ahead use a parser to parse state, return the result and rollback whatever
- Version
1.0.0
- Companion
- object
Atom parsers, like one, eof, return and failed, equals and not equals, etc.
Atom parsers, like one, eof, return and failed, equals and not equals, etc.
- Version
1.0.0
Between parse the open parser, and then sub parser, and then close parser, return sub parser result if success.
Between parse the open parser, and then sub parser, and then close parser, return sub parser result if success.
- Version
1.0.0
- Companion
- object
Choice just the operator <|> in Haskell parsec
Choice just the operator <|> in Haskell parsec
- Version
1.0.0
- Companion
- object
Common State has int status and transaction market. It can apply to Seq[T] or any serial collection.
Common State has int status and transaction market. It can apply to Seq[T] or any serial collection.
- Version
1.0.0
EndBy p sep parses zero or more occurrences of p, separated and ended by sep. Returns a seq of values returned by p.
EndBy p sep parses zero or more occurrences of p, separated and ended by sep. Returns a seq of values returned by p.
- Version
1.0.0
EndBy1 p sep parses one or more occurrences of p, separated and ended by sep. Returns a seq of values returned by p.
EndBy1 p sep parses one or more occurrences of p, separated and ended by sep. Returns a seq of values returned by p.
- Version
1.0.0
- Companion
- object
check next content if a \n char or \r\n
check next content if a \n char or \r\n
- Version
1.0.0
- Companion
- object
Find try and next util success or eof.
Find try and next util success or eof.
- Version
1.0.0
- Companion
- object
Many try to parse the parse more times, and collect all results into a Seq. Many could success 0 to any times.
Many try to parse the parse more times, and collect all results into a Seq. Many could success 0 to any times.
- Companion
- object
Many try to parse the parse more times, and collect all results into a Seq. Many must success once at lest
Many try to parse the parse more times, and collect all results into a Seq. Many must success once at lest
- Version
1.0.0
- Companion
- object
manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments.
manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. This parser can be used to scan comments.
- Version
1.0.0
- Companion
- object
NoWhitespace success if the char is't any whitespace.
NoWhitespace success if the char is't any whitespace.
- Version
1.0.0
- Companion
- object
NoneOf success if get a item none of any in prepared
NoneOf success if get a item none of any in prepared
- Version
1.0.0
- Companion
- object
OneOf success if item equals one of prepared.
OneOf success if item equals one of prepared.
- Version
1.0.0
- Companion
- object
Opt x p tries to apply parser p. If p fails without consuming input, it returns the value x, otherwise the value returned by p.
Opt x p tries to apply parser p. If p fails without consuming input, it returns the value x, otherwise the value returned by p.
- Version
1.0.0
- Companion
- object
sepBy p sep parses zero or more occurrences of p, separated by sep. Returns a list of values returned by p.
sepBy p sep parses zero or more occurrences of p, separated by sep. Returns a list of values returned by p.
- Version
1.0.0
SepBy1 p sep parses one or more occurrences of p, separated by sep. Returns a list of values returned by p.
SepBy1 p sep parses one or more occurrences of p, separated by sep. Returns a list of values returned by p.
- Version
1.0.0
- Companion
- object
SepEndBy p sep parses zero or more occurrences of p, separated and optionally ended by sep, ie. haskell style statements. Returns a seq of values returned by p.
SepEndBy p sep parses zero or more occurrences of p, separated and optionally ended by sep, ie. haskell style statements. Returns a seq of values returned by p.
- Version
1.0.0
SepEndBy1 p sep parses one or more occurrences of p, separated and optionally ended by sep. Returns a list of values returned by p.
SepEndBy1 p sep parses one or more occurrences of p, separated and optionally ended by sep. Returns a list of values returned by p.
- Version
1.0.0
Skip p applies the parser p zero or more times, skipping its result.
Skip p applies the parser p zero or more times, skipping its result.
- Version
1.0.0
- Companion
- object
Skip1 p applies the parser p one or more times, skipping its result.
Skip1 p applies the parser p one or more times, skipping its result.
- Version
1.0.0
- Companion
- object
Functions Helper include parsers for Text
Functions Helper include parsers for Text
- Version
1.0.0
Txt State extends Common State trait. It special for text content analyst. Txt state could mark a status point in which line.
Txt State extends Common State trait. It special for text content analyst. Txt state could mark a status point in which line.
- Version
1.0.0
- Companion
- object