tags top-level property

Map<String, Tag> tags
getter/setter pair

A map of tags that RSP compiler uses to handle the tags.

The name of tag must start with a lower-case letter (a-z), and it can have only letters (a-z and A-Z).

Implementation

late Map<String, Tag> tags = (() {
    final tags = HashMap<String, Tag>();
    for (Tag tag in [PageTag(), DartTag(), HeaderTag(),
        IncludeTag(), ForwardTag(), VarTag(),
        JsonTag(), JsonJsTag(),
        ForTag(), WhileTag(), IfTag(), ElseTag()])
      tags[tag.name] = tag;
    return tags;
  })();