Module: BELParser::Parsers::Tracer
- Included in:
- BELScript::DefineAnnotation::Parser, BELScript::DefineNamespace::Parser, BELScript::Set::Parser, BELScript::SetDocument::Parser, BELScript::Unset::Parser, Common::Function::Parser, Common::Identifier::Parser, Common::List::Parser, Common::MultiIdentifier::Parser, Common::String::Parser, Expression::Comment::Parser, Expression::NestedStatement::Parser, Expression::ObservedTerm::Parser, Expression::Parameter::Parser, Expression::Relationship::Parser, Expression::SimpleStatement::Parser, Expression::StatementAutocomplete::Parser, Expression::Term::Parser
- Defined in:
- lib/bel_parser/parsers/tracer.rb
Overview
Tracer provides a facility to trace ragel finite state machines. Tracing is enabled with using $DEBUG or the environment variable BELPARSER_PARSER_TRACE
Instance Method Summary collapse
Instance Method Details
#trace(_) ⇒ Object
9 10 11 |
# File 'lib/bel_parser/parsers/tracer.rb', line 9 def trace(msg) $stderr.puts msg end |