convertDirectiveToIR method

Directive convertDirectiveToIR(
  1. CompileDirectiveMetadata directiveMeta
)

Implementation

ir.Directive convertDirectiveToIR(CompileDirectiveMetadata directiveMeta) =>
    ir.Directive(
      name: directiveMeta.identifier!.name,
      typeParameters: directiveMeta.originType!.typeParameters,
      hostProperties:
          _hostProperties(directiveMeta.hostProperties, directiveMeta),
      metadata: directiveMeta,
    );