程序包 jaskell.parsec
接口 Parsec<E,T,Status,Tran>
- 所有已知实现类:
Ahead,Attempt,Between,Ch,ChIn,ChNone,Choice,Crlf,Decimal,Digit,EndOfLine,Eof,Eq,Fail,Find,Int,Many,Many1,ManyTill,NCh,Ne,Newline,NoneOf,NoWhitespace,One,OneOf,Option,Return,SepBy,SepBy1,Skip,Skip1,SkipSpaces,SkipWhitespaces,Space,Text,UDecimal,UInt,Whitespace
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface Parsec<E,T,Status,Tran>
Created by Mars Liu on 2016-01-02.
Parsec defined base functions of parsec parsers.
-
方法概要
修饰符和类型 方法 说明 default <C> Parsec<E,C,Status,Tran>bind(Binder<E,T,C,Status,Tran> binder)default Try<T>exec(State<E,Status,Tran> s)default <C> Parsec<E,T,Status,Tran>over(Parsec<E,C,Status,Tran> parsec)Tparse(State<E,Status,Tran> s)default <C> Parsec<E,C,Status,Tran>then(Parsec<E,C,Status,Tran> parsec)
-
方法详细资料
-
parse
-
exec
-
bind
-
then
-
over
-