Module: Hilbert::Lexer

Defined in:
lib/hilbert/lexer.rb,
lib/hilbert/lexer/base.rb,
lib/hilbert/lexer/tokens.rb,
lib/hilbert/lexer/main_lexer.rb,
lib/hilbert/lexer/world_lexer.rb,
lib/hilbert/lexer/formula_lexer.rb

Defined Under Namespace

Modules: Tokens Classes: Base, FormulaLexer, MainLexer, WorldLexer

Class Method Summary collapse

Class Method Details

.execute(str) ⇒ Object



6
7
8
# File 'lib/hilbert/lexer.rb', line 6

def execute(str)
  MainLexer.new(str)
end