use of org.ballerinalang.model.tree.expressions.XMLLiteralNode in project ballerina by ballerina-lang.
the class BLangPackageBuilder method addChildToXMLElement.
public void addChildToXMLElement(Set<Whitespace> ws) {
XMLLiteralNode child = (XMLLiteralNode) exprNodeStack.pop();
child.addWS(ws);
BLangXMLElementLiteral parentXMLExpr = (BLangXMLElementLiteral) exprNodeStack.peek();
parentXMLExpr.addChild(child);
}
Aggregations