module SyntaxTree::DSL

def IfNode(predicate, statements, consequent)

Create a new IfNode node.
def IfNode(predicate, statements, consequent)
  IfNode.new(
    predicate: predicate,
    statements: statements,
    consequent: consequent,
    location: Location.default
  )
end