Search in sources :

Example 1 with BLangXMLCommentLiteral

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);
}
Also used : BLangXMLCommentLiteral(org.wso2.ballerinalang.compiler.tree.expressions.BLangXMLCommentLiteral)

Aggregations

BLangXMLCommentLiteral (org.wso2.ballerinalang.compiler.tree.expressions.BLangXMLCommentLiteral)1