PathMacros

zio.blocks.schema.PathMacros
object PathMacros

Macro implementation of the p"..." interpolator: it parses the literal with PathParser and builds the DynamicOptic expression.

Attributes

Source
PathMacros.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PathMacros.type

Members list

Value members

Concrete methods

def pImpl(sc: Expr[StringContext], args: Expr[Seq[Any]])(using Quotes): Expr[DynamicOptic]

Expands p"...", or reports a compile error for interpolated arguments or a malformed path.

Expands p"...", or reports a compile error for interpolated arguments or a malformed path.

Attributes

Source
PathMacros.scala