Class MultilineNonConsumingRule

  • All Implemented Interfaces:
    IPredicateRule, IRule

    public class MultilineNonConsumingRule
    extends java.lang.Object
    implements IRule, IPredicateRule
    Partitioning rule that finds a string included between two sequences The beginning and trailing sequences are not case sensitive The trailing sequence is not included and the character scanner is rewinded once the trailer is found.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  MultilineNonConsumingRule.BadToken
      Dummy token used to specify in return that a token has not been found.
    • Constructor Summary

      Constructors 
      Constructor Description
      MultilineNonConsumingRule​(java.lang.String startSequence, java.lang.String[] endSequences, IToken token)
      Base constructor to specify start sequence, end sequence and token.
    • Constructor Detail

      • MultilineNonConsumingRule

        public MultilineNonConsumingRule​(java.lang.String startSequence,
                                         java.lang.String[] endSequences,
                                         IToken token)
        Base constructor to specify start sequence, end sequence and token.
        Parameters:
        startSequence -
        endSequences -
        token -