MacroRepImpls

fastparse.internal.MacroRepImpls$

Implementations of the various .rep/.repX overloads. The most common and simple overloads are implemented as macros for performance, while the more complex/general cases are left as normal methods to avoid code bloat and allow the use of default/named arguments (which don't work in macros due to https://github.com/scala/bug/issues/5920).

Even the normal method overloads are manually-specialized to some extent for various sorts of inputs as a best-effort attempt ot minimize branching in the hot paths.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def repMacro0[T : Type, V : Type](parse0: Expr[ParsingRun[T]], sep: Expr[ParsingRun[_]], whitespace: Expr[Whitespace], min: Expr[Int], max: Expr[Int], exactly: Expr[Int])(repeater0: Expr[Repeater[T, V]], ctx0: Expr[ParsingRun[_]])(implicit evidence$1: Type[T], evidence$2: Type[V], quotes: Quotes): Expr[ParsingRun[V]]