Module: BinaryParser
- Defined in:
- lib/binary_parser.rb,
lib/binary_parser/error.rb,
lib/binary_parser/scope.rb,
lib/binary_parser/version.rb,
lib/binary_parser/loop_list.rb,
lib/binary_parser/while_list.rb,
lib/binary_parser/template_base.rb,
lib/binary_parser/stream_template_base.rb,
lib/binary_parser/structure_definition.rb,
lib/binary_parser/built_in_template/bcd.rb,
lib/binary_parser/built_in_template/flag.rb,
lib/binary_parser/built_in_template/uint.rb,
lib/binary_parser/general_class/memorize.rb,
lib/binary_parser/general_class/condition.rb,
lib/binary_parser/nameless_template_maker.rb,
lib/binary_parser/built_in_template/binary.rb,
lib/binary_parser/built_in_template/uint_n.rb,
lib/binary_parser/general_class/expression.rb,
lib/binary_parser/general_class/bit_position.rb,
lib/binary_parser/general_class/free_condition.rb,
lib/binary_parser/general_class/abstract_binary.rb,
lib/binary_parser/general_class/buffered_stream.rb,
lib/binary_parser/general_class/binary_manipulate_function.rb
Defined Under Namespace
Modules: BinaryManipulateFunction, BuiltInTemplate, Memorize, NamelessTemplateMaker Classes: AbstractBinary, BitPosition, BufferedStream, Condition, Expression, FreeCondition, LoopList, Scope, StreamTemplateBase, StructureDefinition, TemplateBase, WhileList
Constant Summary collapse
- LIBRARY_ROOT_PATH =
File.dirname(File.(File.dirname(__FILE__)))
- GENERAL_CLASS_DIR =
load general class file
'/lib/binary_parser/general_class/'
- GENERAL_CLASS_FILES =
['binary_manipulate_function.rb', 'abstract_binary', 'expression.rb', 'bit_position.rb', 'condition.rb', 'free_condition.rb', 'buffered_stream.rb', 'proxy.rb', 'memorize.rb' ]
- BUILT_IN_TEMPLATE_DIR =
'/lib/binary_parser/built_in_template/'
- BUILT_IN_TEMPLATE_FILES =
['uint.rb', 'flag.rb', 'binary.rb', ]
- LIB_DIR =
load library main file
'/lib/binary_parser/'
- LIB_FILES =
['loop_list.rb', 'while_list.rb', 'scope.rb', 'structure_definition.rb', 'template_base.rb', 'stream_template_base.rb', 'nameless_template_maker.rb', 'error.rb' ]
- SUB_BUILT_IN_TEMPLATE_FILES =
load sub-built-in template file
[ 'uint_n.rb', 'bcd.rb', ]
- DefinitionError =
User do Invalid Parsing Definition.
Class.new(StandardError)
- BadManipulationError =
User do Bad Manipulation.
Class.new(StandardError)
- UndefinedError =
Undefined Data is referenced.
Class.new(StandardError)
- ParsingError =
Invalid Binary Pattern is parsed.
Class.new(StandardError)
- BadBinaryManipulationError =
Invalid Binary Manipulation is done.
Class.new(StandardError)
- ProgramAssertionError =
Assertion Error. If this error occurs in regular use, probably this library(binary_parser) has Bugs.
Class.new(StandardError)
- VERSION =
"1.3.0"