Sha256: b47d51f77b027712ae68c6b208187ce9955335c1bf56181074f7428b2d28f039
Contents?: true
Size: 499 Bytes
Versions: 3
Compression:
Stored size: 499 Bytes
Contents
class Fancy AST { class RangeLiteral : Node { read_slots: ('from, 'to) def initialize: @line from: @from to: @to def bytecode: g { pos(g) ms = MessageSend new: @line \ message: (Identifier from: "new:to:" line: @line) \ to: (Identifier from: "Range" line: @line) \ args: (MessageArgs new: @line args: [@from, @to]) ms bytecode: g } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | lib/compiler/ast/range.fy |
fancy-0.9.0 | lib/compiler/ast/range.fy |
fancy-0.8.0 | lib/compiler/ast/range.fy |