Class ComposabilityVisitor

java.lang.Object
org.rumbledb.expressions.AbstractNodeVisitor<Node>
org.rumbledb.compiler.ComposabilityVisitor

public class ComposabilityVisitor extends AbstractNodeVisitor<Node>
Visitor checks rules for composing statements based on sequential properties or nesting (e.g., break statements). The visitor passes a node representing the innermost control statement (while or FLWOR), and for some of the rules applies checks to verify if loops enclose the visited node type.