Sha256: 3a6f7c8da5395341bb32275fc0f5a069666cb9526f7256f44de63f326d62d251

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

module Gisele
  module Language
    module AST
      module BoolOr
        include Node

        def label
          markers[:match] ? markers[:match].to_s : "(#{self[1].label} or #{self[2].label})"
        end

      end # module BoolOr
    end # module AST
  end # module Language
end # module Gisele

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gisele-0.4.0 lib/gisele/language/ast/bool_or.rb
gisele-0.3.0 lib/gisele/language/ast/bool_or.rb
gisele-0.2.0 lib/gisele/language/ast/bool_or.rb