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