NAME
Zuzu::AST::Expr::Range - AST node for inclusive integer ranges
DESCRIPTION
Represents an inclusive integer range expression used inside array literals, for example [ 1...5 ] or [ 5...1 ].
ATTRIBUTES
start
Type: expression node.
The expression that provides the first value in the range.
end
Type: expression node.
The expression that provides the last value in the range.
METHODS
evaluate
Dispatches this AST node to Zuzu::Runtime::eval_range.
COPYRIGHT AND LICENCE
Zuzu::AST::Expr::Range is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.