NodeTag<T> constructor

NodeTag<T>(
  1. SpecificTag<T> resolvedTag, {
  2. TagShorthand? suffix,
  3. bool isGeneric = true,
})

Implementation

NodeTag(this.resolvedTag, {TagShorthand? suffix, this.isGeneric = true})
  : verbatim = _formatAsVerbatim(
      resolvedTag,
      suffix?.content ?? '',
      suffixIsNonSpecific: suffix?.isNonSpecific ?? false,
    ),
    hasGlobalTag = resolvedTag is GlobalTag,
    suffix = suffix ?? resolvedTag as TagShorthand;