return Collections.unmodifiableList(result);
}
public static ASMetaTag newMetaTag(LinkedListTree ast, String name) {
LinkedListTree tag = ASTBuilder.newMetadataTag(name);
LinkedListToken trailingnl = TokenBuilder.newNewline();
tag.getStopToken().afterInsert(trailingnl);
tag.setStopToken(trailingnl);
String indent = ASTUtils.findIndent(ast);
if (indent.length() > 0) {
LinkedListToken stopToken = tag.getStopToken();
LinkedListToken indentTok = TokenBuilder.newWhiteSpace(indent);
stopToken.afterInsert(indentTok);
tag.setStopToken(indentTok);
}
findTags(ast).addChildWithTokens(tag);
return toMetaTag(tag);