class Rugments::Lexers::Groovy

Public Class Methods

constants() click to toggle source
# File lib/rugments/lexers/groovy.rb, line 33
def self.constants
  @constants ||= Set.new %w(true false null)
end
declarations() click to toggle source
# File lib/rugments/lexers/groovy.rb, line 19
def self.declarations
  @declarations ||= Set.new %w(
    abstract const enum extends final implements native private
    protected public static strictfp super synchronized throws
    transient volatile
  )
end
keywords() click to toggle source
# File lib/rugments/lexers/groovy.rb, line 12
def self.keywords
  @keywords ||= Set.new %w(
    assert break case catch continue default do else finally for
    if goto instanceof new return switch this throw try while in as
  )
end
types() click to toggle source
# File lib/rugments/lexers/groovy.rb, line 27
def self.types
  @types ||= Set.new %w(
    def boolean byte char double float int long short void
  )
end