Class TextLineParser.TextLineParseResult

  • All Implemented Interfaces:
    InputParser.ParseResult<java.lang.String>
    Enclosing class:
    TextLineParser

    public static class TextLineParser.TextLineParseResult
    extends ArrayParseResult
    Own parser result type to hide implementing class for future modifications.
    Author:
    Holger Eichelberger, SSE
    • Constructor Detail

      • TextLineParseResult

        protected TextLineParseResult​(java.lang.String[] data)
        Creates an array-based parse result.
        Parameters:
        data - the parsed data
      • TextLineParseResult

        protected TextLineParseResult​(java.lang.String[] data,
                                      int baseIndex,
                                      ArrayParseResult parent)
        Creates an array-based parse result.
        Parameters:
        data - the parsed data
        baseIndex - the base index set as context root, {code 0} for top-level
        parent - the parent result representing the context where a #stepInto(String, int) happened, null for the top context