Method: Ascode::Parser::Function#parse
- Defined in:
- lib/ascode/parser/function.rb
#parse(char) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/ascode/parser/function.rb', line 4 def parse(char) CODE.find do |type| type[1].find do |function| @ast = ast type[0], function[1] if function[0] == char end end return unless @ast @ast end |