Exemplo n.º 1
0
 public override Parse <TFuture> BuildParse <TFuture>(Future <TR, TFuture> future)
 {
     return(scanner =>
            m_p1.BuildParse(
                value1 => m_p2Selector(value1).BuildParse(
                    value2 => future(m_resultSelector(value1, value2))))(scanner));
 }
Exemplo n.º 2
0
 public override Parse <TFuture> BuildParse <TFuture>(Future <TR, TFuture> future)
 {
     return(scanner =>
            m_p.BuildParse(value => future(m_resultSelector(value)))(scanner));
 }
Exemplo n.º 3
0
 public ParserRunner(ProductionBase <T> parseFunc)
 {
     m_parseFunc = parseFunc.BuildParse(FinalFuture);
 }