Sha256: 9439809f27dd24e966bb8a6a84b9215d3f3af84637321e5910c6debf24c764ca
Contents?: true
Size: 865 Bytes
Versions: 9
Compression:
Stored size: 865 Bytes
Contents
require 'rubylexer/0.7.0' #make ImplicitParamList Start and End tokens descend from IgnoreToken again class RubyLexer remove_const :ImplicitParamListStartToken remove_const :ImplicitParamListEndToken class ImplicitParamListStartToken < IgnoreToken # include StillIgnoreToken def initialize(offset) super("(",offset) end def to_s; '' end end class ImplicitParamListEndToken < IgnoreToken # include StillIgnoreToken def initialize(offset) super(")",offset) end def to_s; '' end end end RubyLexer.constants.map{|k| k.name[/[^:]+$/] if Token>=k or Context>=k }.compact + %w[ RuLexer CharHandler CharSet SymbolTable SimpleTokenPrinter KeepWsTokenPrinter ].each{|name| Object.const_set name, RubyLexer.const_get name } class RubyLexer def merge_assignment_op_in_setter_callsites? true end end
Version data entries
9 entries across 9 versions & 1 rubygems