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
- Authors
mars
- 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.
- Authors
mars
- 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.
- Authors
mars
- Version
1.0.0
- Companion
- object
Choice just the operator <|> in Haskell parsec
Choice just the operator <|> in Haskell parsec
- Authors
mars
- 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.
- Authors
Mars Liu
- 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.
- Authors
Mars Liu
- 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.
- Authors
mars
- 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
- Authors
mars
- Version
1.0.0
- Companion
- object
Find try and next util success or eof.
Find try and next util success or eof.
- Authors
mars
- 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.
- Authors
mars
- 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
- Authors
Mars Liu
- 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.
- Authors
Mars Liu
- Version
1.0.0
- Companion
- object
NoWhitespace success if the char is't any whitespace.
NoWhitespace success if the char is't any whitespace.
- Authors
mars
- 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
- Authors
Mars Liu
- Version
1.0.0
- Companion
- object
OneOf success if item equals one of prepared.
OneOf success if item equals one of prepared.
- Authors
mars
- 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.
- Authors
Mars Liu
- Version
1.0.0
- Companion
- object
Parser throw ParsecException if failed.
Parser throw ParsecException if failed.
- Authors
Mars Liu
- Version
1.0.0
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.
- Authors
Mars Liu
- 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.
- Authors
mars
- 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.
- Authors
mars
- 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.
- Authors
mars
- 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.
- Authors
mars
- 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.
- Authors
mars
- Version
1.0.0
- Companion
- object
Functions Helper include parsers for Text
Functions Helper include parsers for Text
- Authors
mars
- 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.
- Authors
Mars Liu
- Version
1.0.0
- Companion
- object