Class MacroDefinitionRepository
java.lang.Object
com.vladsch.flexmark.util.ast.NodeRepository<MacroDefinitionBlock>
com.vladsch.flexmark.ext.macros.internal.MacroDefinitionRepository
- All Implemented Interfaces:
Map<String, MacroDefinitionBlock>
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class NodeRepository
keepType, nodeList, nodeMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMacrosReference(MacroDefinitionBlock macroDefinitionBlock, MacroReference macros) @NotNull DataKey<MacroDefinitionRepository> @NotNull Set<MacroDefinitionBlock> getReferencedElements(Node parent) voidMethods inherited from class NodeRepository
clear, containsKey, containsValue, entrySet, equals, get, getFromRaw, getValues, hashCode, isEmpty, keySet, normalizeKey, put, putAll, putRawKey, remove, size, transferReferences, values, visitNodesMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
myReferencedMacroDefinitionBlocks
-
-
Constructor Details
-
MacroDefinitionRepository
-
-
Method Details
-
addMacrosReference
-
resolveMacrosOrdinals
public void resolveMacrosOrdinals() -
getReferencedMacroDefinitionBlocks
-
getDataKey
- Specified by:
getDataKeyin classNodeRepository<MacroDefinitionBlock>
-
getKeepDataKey
- Specified by:
getKeepDataKeyin classNodeRepository<MacroDefinitionBlock>
-
getReferencedElements
- Specified by:
getReferencedElementsin classNodeRepository<MacroDefinitionBlock>
-