module Drudge::Parsers::ParseResults::ParseValue

A parse value is a wrapper around the values produced by parsers that allow for concatanations (monoidal)

Public Class Methods

zero() click to toggle source

returns the ‘zero’ of the parse, value

# File lib/drudge/parsers/parse_results.rb, line 151
def self.zero
  Empty()
end

Public Instance Methods

+(other) click to toggle source

Concatenation of parse values

# File lib/drudge/parsers/parse_results.rb, line 156
def +(other); end
to_a() click to toggle source

converts the value into an array

# File lib/drudge/parsers/parse_results.rb, line 159
def to_a; end