Remove commentaries
This commit is contained in:
parent
9ccaba0b16
commit
0a16d6d322
1 changed files with 0 additions and 21 deletions
|
@ -37,27 +37,6 @@ module Mm2ep
|
||||||
ex.value = "#{v.value} #{s.value} #{eq.value} #{s.value} #{n.value}"
|
ex.value = "#{v.value} #{s.value} #{eq.value} #{s.value} #{n.value}"
|
||||||
end
|
end
|
||||||
|
|
||||||
# lexer do
|
|
||||||
#
|
|
||||||
# end
|
|
||||||
#
|
|
||||||
# def initialize
|
|
||||||
# @tokens = []
|
|
||||||
# end
|
|
||||||
#
|
|
||||||
# def parse s
|
|
||||||
# s = s.split(' ')
|
|
||||||
# s.each_with_index do |element, idx|
|
|
||||||
# TOKEN.each do |token, regex|
|
|
||||||
# next if element.sub!(regex, '').nil?
|
|
||||||
# @tokens << token
|
|
||||||
# break if element.nil?
|
|
||||||
# end
|
|
||||||
# @tokens <<'SPACE' unless idx == s.length-1
|
|
||||||
# end
|
|
||||||
# puts @tokens
|
|
||||||
# end # def
|
|
||||||
|
|
||||||
end # class
|
end # class
|
||||||
end # module
|
end # module
|
||||||
end # module
|
end # module
|
||||||
|
|
Loading…
Reference in a new issue