Tag class Null safety

Tags are specific texts in MarkdownTemplates that are replaced by the DocumentationBuilder with other information (e.g. by an imported Dart Documentation Comment) before the output file is written.

Tags:

  • are surrounded by curly brackets: {}
  • start with a name: e.g. {ImportFile}
  • may have Attributes after the name: e.g. {ImportFile path='OtherTemplateFile.mdt' title='## Other Template File'}
Inheritance
Implementers

Constructors

Tag(ParentNode? parent, Map<String, dynamic> attributeNamesAndValues)

Properties

anchor Anchor
late, final
attributeNamesAndValues Map<String, dynamic>
final
children List<Node>
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
lastCompletedRuleIndex int
A ParserRule is done when its ParserRule.findChildNodesToReplace method can no longer find children to replace. -1 = no ParserRules are done: they still all need to check if they can find children to replace 0 = the first ParserRule is done: - it did not find any children to replace - the remaining rules (if any) still need to check if they can find children to replace 1 = the first 2 ParserRules are done: - they did not find any children to replace - the remaining rules (if any) still need to check if they can find children to replace etc
read / write, inherited
parent ParentNode?
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

createChildren() Future<List<Node>>
findNodeWithUncompletedRule(int ruleIndex) ParentNode?
Find a ParentNode that still needs to check the given rule
inherited
findParent<T>() → T?
Finds the first parent of a given Type
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
resetLastCompletedRuleIndexes() → void
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited