summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reference/function.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2008-09-26 23:03:39 +0200
committerJames Turnbull <james@lovedthanlost.net>2008-10-01 01:35:03 +1000
commit4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59 (patch)
treee2db8d91c8e1d45bb9413899ff6566a712264b0a /lib/puppet/reference/function.rb
parentcfa230a2d7b0c5e57cc0379785bd2025520f1c35 (diff)
downloadpuppet-4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59.tar.gz
puppet-4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59.tar.xz
puppet-4cf9710bd27fdb5f0720f4d8478ef940e7c4ba59.zip
Add parser for arbitrary expressions
The expressions can be used in if 'test' and in the right side of assignements. The expressions can contain any number of sub-expressions combined by either arithmetic operators, comparison operators, or boolean operators. Random Usage Examples: $result = ((( $two + 2) / $one) + 4 * 5.45) - (6 << 7) + (0x800 + -9) or if ($a < 10) and ($a + 10 != 200) { ... }
Diffstat (limited to 'lib/puppet/reference/function.rb')
0 files changed, 0 insertions, 0 deletions