fastparse

Utils

Related Doc: package fastparse

object Utils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class CharBitSet extends (Char) ⇒ Boolean

    A small, fast implementation of a bitset packing up to 65k Chars into 2k Ints (8k Bytes) but using less if the range of inputs is smaller.

    A small, fast implementation of a bitset packing up to 65k Chars into 2k Ints (8k Bytes) but using less if the range of inputs is smaller.

    Empirically seems to be a hell of a lot faster than immutable.Bitset, making the resultant parser up to 2x faster!

  2. case class FuncName(name: String, fullName: String) extends Product with Serializable

    Type, which when summoned implicitly, provides the name of the nearest enclosing method for your perusal

  3. final class TrieNode extends AnyRef

    An trie node for quickly matching multiple strings which share the same prefix, one char at a time.

    An trie node for quickly matching multiple strings which share the same prefix, one char at a time.

    The LongMap could be pretty easily replaced by a lookup-table Array[TrieNode], but empirically that doesn't seem to give any performance improvements.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object CharBitSet

  5. object FuncName extends Serializable

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def literalize(s: String, unicode: Boolean = true): StringBuilder

    Convert a string to a C&P-able literal.

    Convert a string to a C&P-able literal. Basically copied verbatim from the uPickle source code.

  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. macro def preCompute(pred: (Char) ⇒ Boolean): CharBitSet

    Takes a predicate and pre-generates a base64 encoded bit-set, that evaluates at run-time to create a CharBitSet.

    Takes a predicate and pre-generates a base64 encoded bit-set, that evaluates at run-time to create a CharBitSet. Useful for pre-computing Char predicates that are unfeasible at runtime, e.g. because they're too slow or because they don't work in Scala.js

  19. def preComputeImpl(c: Context)(pred: scala.reflect.macros.blackbox.Context.Expr[(Char) ⇒ Boolean]): scala.reflect.macros.blackbox.Context.Expr[CharBitSet]

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped