eu.bandm.tools.ulex
Class ULex.Seq_2<A,B>

java.lang.Object
  extended by eu.bandm.tools.ulex.ULex<R>
      extended by eu.bandm.tools.ulex.ULex.Seq<A,B,B>
          extended by eu.bandm.tools.ulex.ULex.Seq_2<A,B>
Enclosing class:
ULex<T>

public static class ULex.Seq_2<A,B>
extends ULex.Seq<A,B,B>

A predefined subclass of ULex.Seq which discards the result of the first sub-parser and returns the result of the second sub-parser.


Nested Class Summary
 
Nested classes/interfaces inherited from class eu.bandm.tools.ulex.ULex
ULex.Alt<A>, ULex.CharSet, ULex.Concatenate, ULex.Const, ULex.ConstMap<T>, ULex.DecimalDigit, ULex.End, ULex.ExceptionFail, ULex.Fail<T>, ULex.Int, ULex.Length<T>, ULex.Natural, ULex.Natural_0, ULex.Negate, ULex.Opt<S>, ULex.Pattern, ULex.PatternInteger, ULex.PatternLength, ULex.Plus<S>, ULex.SemanticPattern<R>, ULex.Seq<A,B,R>, ULex.Seq_1<A,B>, ULex.Seq_2<A,B>, ULex.SkipWhitespace<S>, ULex.Star<S>, ULex.State, ULex.ToLower<S>
 
Field Summary
 
Fields inherited from class eu.bandm.tools.ulex.ULex
EXCEPTION_FAIL, result
 
Constructor Summary
ULex.Seq_2(ULex<A> first, ULex<B> second)
           
 
Method Summary
 B combine(A a, B b)
           
 
Methods inherited from class eu.bandm.tools.ulex.ULex.Seq
tryParse
 
Methods inherited from class eu.bandm.tools.ulex.ULex
alt, alt, alt, alt, charSet, concatenate, concatenate, concatenate, constMap, end, fail, konst, length, negate, opt, parse, pattern, patternLength, plus, seq_1, seq_2, skipWhitespace, star, state, state, toLower
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ULex.Seq_2

public ULex.Seq_2(ULex<A> first,
                  ULex<B> second)
Method Detail

combine

public B combine(A a,
                 B b)
Specified by:
combine in class ULex.Seq<A,B,B>