module BinData::DSLMixin

def dsl_parser(parser_type = nil)

def dsl_parser(parser_type = nil)
  @dsl_parser ||= begin
    parser_type ||= superclass.dsl_parser.parser_type
    DSLParser.new(self, parser_type)
  end
end

def method_missing(symbol, *args, &block) # :nodoc:

:nodoc:
def method_missing(symbol, *args, &block) # :nodoc:
  dsl_parser.__send__(symbol, *args, &block)
end

def to_ary; nil; end

Assert object is not an array or string.
def to_ary; nil; end

def to_str; nil; end

def to_str; nil; end