MacroDefinition.fromCtxString constructor

MacroDefinition.fromCtxString(
  1. String expand(
    1. MacroContext
    )
)

Implementation

MacroDefinition.fromCtxString(String Function(MacroContext) expand)
    : this((context) => MacroExpansion.fromString(expand(context), context));