MacroUtil

argparse.core.MacroUtil
class MacroUtil(using val qctx: Quotes)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def callOrInstantiate(instance: Term, methodOrClass: Symbol, argss: Expr[List[List[_]]]): Term
def findAnnotated(tpe: TypeRepr): List[(Ref, Symbol)]
def getDefaultParams(instance: Term, method: Symbol): Map[Symbol, Term]
def makeArg(api: Ref, param: Symbol, defaults: Map[Symbol, Term], docs: DocComment, parser: Expr[_]): Expr[() => ]
def makeArgs(api: Ref, instance: Term, sym: Symbol, parser: Expr[_]): Expr[List[List[() => ]]]
def makeCommandForSym[C : Type](api: Ref, sym: Symbol): Expr[Command[C]]
def makeCommands[C : Type]: List[Expr[Command[_]]]

Givens

Givens

given qctx: Quotes