Method: RubyLexer#process_percent
- Defined in:
- lib/ruby_lexer.rb
#process_percent(text) ⇒ Object
622 623 624 625 626 627 628 629 630 |
# File 'lib/ruby_lexer.rb', line 622 def process_percent text return parse_quote if is_beg? return result(:expr_beg, :tOP_ASGN, "%") if scan(/\=/) return parse_quote if is_arg? && space_seen && ! check(/\s/) return result(:arg_state, :tPERCENT, "%") end |