Sha256: 25be169170e5575afd121a8fe12d3e114810777321ac77976fe4c3ca736f9e41
Contents?: true
Size: 370 Bytes
Versions: 19
Compression:
Stored size: 370 Bytes
Contents
class Token module OnPeriod def onClassify # if isOperand? # should not be parent if [:on_ident, :on_const].include?(dnext.kind) Token.addMod(first, "___theme_by_period") elsif ambiguousPeriodTheme? raise Error.new("Nested theme is referenced by single '.'") else Token.addMod(range, "___theme_by_period") end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems