Source/NFX/CodeAnalysis/PatternSearch.cs
/// <summary>
/// Makes finite state machine fed from IEnumerable(Token) only considering primary language tokens
/// </summary>
/// <typeparam name="TToken">Concrete language-typed token</typeparam>
/// <param name="tokens">Token enumerable</param>
/// <param name="predicates">Predicates that supply machine state transition instructions</param>
/// <returns>Resulting token fetched by FSMI.Take instruction or null</returns>
Makes finite state machine fed from IEnumerable(Token) only considering primary language tokens
Makes finite state machine fed from IEnumerable ( Token ) only considering primary language tokens
public static TToken LazyFSM<TToken>(this IEnumerable<TToken> tokens,
                                            params LazyFSMPredicate<TToken>[] predicates) where TToken : Token
       {
          return tokens.LazyFSM(true, predicates);
       }
public static TToken LazyFSM < TToken > ( this IEnumerable < TToken > tokens , params LazyFSMPredicate < TToken > [ ] predicates ) where TToken : Token { return tokens . LazyFSM ( true , predicates ) ; }
Makes finite state machine fed from IEnumerable(Token) only considering primary language tokens
Makes finite state machine fed from IEnumerable ( Token ) only considering primary language tokens
Resulting token fetched by FSMI.Take instruction or null
Resulting token fetched by FSMI . Take instruction or null
IEnumerable<TToken>
this
tokens
None
predicates
Predicates that supply machine state transition instructions
Predicates that supply machine state transition instructions
typeparam
Concrete language-typed token
Concrete language - typed token