Sha256: 00f0e2e5340f1ee901f081096cea4791c2095299c27bccb85a585ff37cff755f
Contents?: true
Size: 839 Bytes
Versions: 12
Compression:
Stored size: 839 Bytes
Contents
require "liquidscript/compiler/icr/expressions" require "liquidscript/compiler/icr/functions" require "liquidscript/compiler/icr/literals" require "liquidscript/compiler/icr/classes" require "liquidscript/compiler/icr/helpers" module Liquidscript module Compiler class ICR < Base include Expressions include Functions include Literals include Classes include Helpers # (see Base#reset!) def reset! @top = Liquidscript::ICR::Set.new @top.context = Liquidscript::ICR::Context.new @set = [@top] super end # (see Base#top) def top @set.last end # Sets the starting point for compiliation. # # @return [ICR::Code] def compile_start compile_expression end end end end
Version data entries
12 entries across 12 versions & 1 rubygems