Class: Puppet::Pops::Model::IfExpression

Inherits:
Expression show all
Defined in:
lib/puppet/pops/model/model.rb

Overview

If expression. If test is true, the then_expr part should be evaluated, else the (optional) else_expr. An ‘elsif’ is simply an else_expr = IfExpression, and ‘else’ is simply else == Block. a ‘then’ is typically a Block.

Direct Known Subclasses

UnlessExpression

Method Summary

Methods included from Containment

#eAllContainers, #eAllContents

Methods included from Visitable

#accept