Sha256: 6faa1152d097e8b0acfc3c7acef1e3dad96a7273b017a7efab7e004d9e7b4da1

Contents?: true

Size: 305 Bytes

Versions: 3

Compression:

Stored size: 305 Bytes

Contents

module Gisele
  module Language
    module AST
      module BoolAnd
        include Node

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

      end # module BoolAnd
    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_and.rb
gisele-0.3.0 lib/gisele/language/ast/bool_and.rb
gisele-0.2.0 lib/gisele/language/ast/bool_and.rb