use of org.wso2.ballerinalang.compiler.tree.statements.BLangFail in project ballerina by ballerina-lang.
the class BLangPackageBuilder method addFailStatement.
public void addFailStatement(DiagnosticPos pos, Set<Whitespace> ws) {
BLangFail failNode = (BLangFail) TreeBuilder.createFailNode();
failNode.pos = pos;
failNode.addWS(ws);
addStmtToCurrentBlock(failNode);
}
Aggregations