Sha256: 382a6c6ee362993be7c1152de03eecb206d7ba6cd91731dda90d137e894d254d
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
class Fancy AST { class StringInterpolation : Node { """ StringInterpolation nodes need to be parsed after the overall code has been parsed as the parser currently isn't re-entrant. It works... """ def initialize: @line code: @code filename: @filename def parse_code { Fancy Parser parse_code: @code file: @filename line: @line } def bytecode: g { parse_code body expressions first bytecode: g } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | lib/compiler/ast/string_interpolation.fy |
fancy-0.9.0 | lib/compiler/ast/string_interpolation.fy |
fancy-0.8.0 | lib/compiler/ast/string_interpolation.fy |