use of org.wso2.ballerinalang.compiler.tree.expressions.BLangXMLCommentLiteral in project ballerina by ballerina-lang.
the class BLangPackageBuilder method createXMLCommentLiteral.
public void createXMLCommentLiteral(DiagnosticPos pos, Set<Whitespace> ws, Stack<String> precedingTextFragments, String endingText) {
BLangXMLCommentLiteral xmlCommentLiteral = (BLangXMLCommentLiteral) TreeBuilder.createXMLCommentLiteralNode();
xmlCommentLiteral.textFragments = getExpressionsInTemplate(pos, null, precedingTextFragments, endingText, NodeKind.LITERAL);
xmlCommentLiteral.pos = pos;
xmlCommentLiteral.addWS(ws);
addExpressionNode(xmlCommentLiteral);
}
Aggregations