Class PegResult<R>

  • Type Parameters:
    R - the type of the Result Object

    public final class PegResult<R>
    extends Object
    Contains the result of a parsing operation. - the new index position - the object created
    Author:
    pchretien
    • Method Detail

      • getIndex

        public int getIndex()
        Returns:
        Index
      • getValue

        public R getValue()
        Returns:
        the result value