class BinData::DSLMixin::DSLParser
def dsl_params
def dsl_params case @parser_type when :struct to_struct_params when :array to_array_params when :choice to_choice_params when :primitive to_struct_params when :wrapper raise "Wrapper is deprecated" else raise "unknown parser type #{@parser_type}" end end