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