Module: CodeBreaker

Defined in:
lib/code_breaker.rb,
lib/code_breaker/parser.rb,
lib/code_breaker/version.rb,
lib/code_breaker/parsable/node.rb,
lib/code_breaker/parsable/ranges.rb,
lib/code_breaker/parsable/keywords.rb,
lib/code_breaker/parsable/wrappers.rb,
lib/code_breaker/parsable/data_types.rb,
lib/code_breaker/parsable/assignments.rb,
lib/code_breaker/parsable/variable_types.rb,
lib/code_breaker/parsable/language_elements.rb

Defined Under Namespace

Modules: Parsable Classes: Parser

Constant Summary collapse

VERSION =
'0.3.1'.freeze

Class Method Summary collapse

Class Method Details

.parse(code) ⇒ Object



5
6
7
# File 'lib/code_breaker.rb', line 5

def self.parse(code)
  CodeBreaker::Parser.new(code).run
end