Class TextParsingUtil


  • final class TextParsingUtil
    extends java.lang.Object
    • Constructor Detail

      • TextParsingUtil

        private TextParsingUtil()
    • Method Detail

      • findNextStructureEndAvoidQuotes

        static int findNextStructureEndAvoidQuotes​(char[] text,
                                                   int offset,
                                                   int maxi,
                                                   int[] locator)
      • findNextCommentBlockEnd

        static int findNextCommentBlockEnd​(char[] text,
                                           int offset,
                                           int maxi,
                                           int[] locator)
      • findNextCommentLineEnd

        static int findNextCommentLineEnd​(char[] text,
                                          int offset,
                                          int maxi,
                                          int[] locator)
      • findNextLiteralEnd

        static int findNextLiteralEnd​(char[] text,
                                      int offset,
                                      int maxi,
                                      int[] locator,
                                      char literalMarker)
      • findNextStructureStartOrLiteralMarker

        static int findNextStructureStartOrLiteralMarker​(char[] text,
                                                         int offset,
                                                         int maxi,
                                                         int[] locator,
                                                         boolean processCommentsAndLiterals)
      • isLiteralDelimiter

        private static boolean isLiteralDelimiter​(char[] text,
                                                  int offset,
                                                  int i)
      • findNextWhitespaceCharWildcard

        static int findNextWhitespaceCharWildcard​(char[] text,
                                                  int offset,
                                                  int maxi,
                                                  boolean avoidQuotes,
                                                  int[] locator)
      • findNextNonWhitespaceCharWildcard

        static int findNextNonWhitespaceCharWildcard​(char[] text,
                                                     int offset,
                                                     int maxi,
                                                     int[] locator)
      • findNextOperatorCharWildcard

        static int findNextOperatorCharWildcard​(char[] text,
                                                int offset,
                                                int maxi,
                                                int[] locator)
      • findNextNonOperatorCharWildcard

        static int findNextNonOperatorCharWildcard​(char[] text,
                                                   int offset,
                                                   int maxi,
                                                   int[] locator)
      • findNextAnyCharAvoidQuotesWildcard

        static int findNextAnyCharAvoidQuotesWildcard​(char[] text,
                                                      int offset,
                                                      int maxi,
                                                      int[] locator)