PatternSearch MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The PatternSearch type exposes the following members.
Methods

  NameDescription
Public methodStatic memberDoUntilAny TToken (TToken, FSMI,  Int32 )
Performs FSM instruction unless token's type is any of the specified, then advances FSM
Public methodStatic memberDoUntilAny TToken (TToken, FSMI,  String )
Performs FSM instruction unless token's text is any of the specified, then advances FSM
Public methodStatic memberDoUntilAny TToken (TToken, FSMI, StringComparison,  String )
Performs FSM instruction unless token's text is any of the specified, then advances FSM
Public methodStatic memberDoUntilAny TToken, TTokenType (TToken, FSMI,  TTokenType )
Performs FSM instruction unless token's type is any of the specified, then advances FSM
Public methodStatic memberIsAnyOrAbort TToken (TToken,  Int32 )
Advances FSM when token's type is any of specified or aborts FSM
Public methodStatic memberIsAnyOrAbort TToken (TToken,  String )
Advances FSM when token's text is any of specified or aborts FSM
Public methodStatic memberIsAnyOrAbort TToken (TToken, StringComparison,  String )
Advances FSM when token's text is any of specified or aborts FSM
Public methodStatic memberIsAnyOrAbort TToken, TTokenType (TToken,  TTokenType )
Advances FSM when token's type is any of specified or aborts FSM
Public methodStatic memberLazyFSM TToken (IEnumerable TToken ,  LazyFSMPredicate TToken  )
Makes finite state machine fed from IEnumerable(Token) only considering primary language tokens
Public methodStatic memberLazyFSM TToken (IEnumerable TToken , Boolean,  LazyFSMPredicate TToken  )
Makes finite state machine fed from IEnumerable(Token)
Public methodStatic memberLazyFSM TToken (IEnumerable TToken , Boolean, LazyFSMState TToken  ,  LazyFSMPredicate TToken  )
Makes finite state machine fed from IEnumerable(Token)
Public methodStatic memberLoopUntilAfterMatch TToken 
Loops until token pattern match succeeds. This method matches using the same primary token filter as the parent match. Keeps state machine if match was found on the first token that follows the match
Public methodStatic memberLoopUntilAny TToken (TToken,  Int32 )
Advances FSM when token's type is any of specified or loops FSM
Public methodStatic memberLoopUntilAny TToken (TToken,  String )
Advances FSM when token's text is any of specified or loops FSM
Public methodStatic memberLoopUntilAny TToken (TToken, StringComparison,  String )
Advances FSM when token's text is any of specified or loops FSM
Public methodStatic memberLoopUntilAny TToken, TTokenType (TToken,  TTokenType )
Advances FSM when token's type is any of specified or loops FSM
Public methodStatic memberLoopUntilMatch TToken (LazyFSMState TToken ,  LazyFSMPredicate TToken  )
Loops until token pattern match succeeds, considering only primary language tokens. Keeps state machine if match was found on the first matching token
Public methodStatic memberLoopUntilMatch TToken (LazyFSMState TToken , Boolean,  LazyFSMPredicate TToken  )
Loops until token pattern match succeeds, conditionaly considering only primary language tokens. Keeps state machine if match was found on the first matching token
Public methodStatic memberLoopWhileAnyOrAbort TToken (TToken,  Int32 )
Loops FSM while token's type is any of the specified or aborts
Public methodStatic memberLoopWhileAnyOrAbort TToken (TToken,  String )
Loops FSM while token's text is any of the specified or aborts
Public methodStatic memberLoopWhileAnyOrAbort TToken (TToken, StringComparison,  String )
Loops FSM while token's text is any of the specified or aborts
Public methodStatic memberLoopWhileAnyOrAbort TToken, TTokenType (TToken,  TTokenType )
Loops FSM while token's type is any of the specified or aborts
Public methodStatic memberSkip TToken 
Skips specified number of tokens by returning FSMI.Loop count times
Public methodStatic memberTextIsAnyOf TToken (TToken,  String )
Returns true when token's text is any of specified
Public methodStatic memberTextIsAnyOf TToken (TToken, StringComparison,  String )
Returns true when token's text is any of specified
Public methodStatic memberTypeIsAnyOf TToken (TToken,  Int32 )
Returns true when token's type is any of the specified
Public methodStatic memberTypeIsAnyOf TToken, TTokenType (TToken,  TTokenType )
Returns true when token's type is any of the specified
Back to Top
See Also