abstract class BaseParser[F[_], A] extends AnyRef
- Annotations
- @SuppressWarnings()
- Alphabetic
- By Inheritance
- BaseParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BaseParser()
Abstract Value Members
-
abstract
def
churn(): Either[ParseException, A]
More data has been received, consume as much as possible.
More data has been received, consume as much as possible.
- Attributes
- protected[this]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
absorb(s: String)(implicit F: Sync[F]): F[Either[ParseException, A]]
- Annotations
- @SuppressWarnings()
-
final
def
absorb(bytes: Array[Byte])(implicit F: Sync[F]): F[Either[ParseException, A]]
- Annotations
- @SuppressWarnings()
-
final
def
absorb(buf: ByteBuffer)(implicit F: Sync[F]): F[Either[ParseException, A]]
- Annotations
- @SuppressWarnings()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
at(i: Int, k: Int): CharSequence
Access a byte range as a string.
Access a byte range as a string.
Since the underlying data are UTF-8 encoded, i and k must occur on unicode boundaries. Also, the resulting String is not guaranteed to have length (k - i).
- Attributes
- protected[this]
- Annotations
- @SuppressWarnings()
-
final
def
at(i: Int): Char
- Attributes
- protected[this]
- Annotations
- @SuppressWarnings()
-
final
def
atEof(i: Int): Boolean
- Attributes
- protected[this]
-
final
def
byte(i: Int): Byte
This is a specialized accessor for the case where our underlying data are bytes not chars.
This is a specialized accessor for the case where our underlying data are bytes not chars.
- Attributes
- protected[this]
- Annotations
- @SuppressWarnings()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
column(i: Int): Int
- Attributes
- protected[this]
-
final
var
curr: Int
- Attributes
- protected[this]
-
final
def
die(i: Int, msg: String): Nothing
Used to generate error messages with character info and offsets.
Used to generate error messages with character info and offsets.
- Attributes
- protected[this]
- Annotations
- @SuppressWarnings()
-
final
var
done: Boolean
- Attributes
- protected[this]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
error(msg: String): Nothing
Used to generate messages for internal errors.
Used to generate messages for internal errors.
This should only be used in situations where a possible bug in the parser was detected. For errors in user-provided JSON, use die().
- Attributes
- protected[this]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- final def finish(implicit F: Sync[F]): F[Either[ParseException, A]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
newline(i: Int): Unit
- Attributes
- protected[this]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
var
offset: Int
- Attributes
- protected[this]
-
final
def
reset(i: Int): Int
- Attributes
- protected[this]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
unsafeData(): Array[Byte]
- Attributes
- protected[this]
-
final
def
unsafeLen(): Int
- Attributes
- protected[this]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )