class Rouge::Lexers::Apex

Public Class Methods

constants() click to toggle source
# File lib/rouge/lexers/apex.rb, line 43
def self.constants
  @constants ||= Set.new %w(true false null)
end
declarations() click to toggle source
# File lib/rouge/lexers/apex.rb, line 21
def self.declarations
  @declarations ||= Set.new %w(
    abstract const enum extends final implements native private protected
    public static super synchronized throws transient volatile with
    sharing without inherited virtual global testmethod
  )
end
keywords() click to toggle source
# File lib/rouge/lexers/apex.rb, line 13
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 insert update
    delete
  )
end
soql() click to toggle source
# File lib/rouge/lexers/apex.rb, line 29
def self.soql
  @soql ||= Set.new %w(
    SELECT FROM WHERE UPDATE LIKE TYPEOF END USING SCOPE WITH DATA
    CATEGORY GROUP BY ROLLUP CUBE HAVING ORDER BY ASC DESC NULLS FIRST
    LAST LIMIT OFFSET FOR VIEW REFERENCE UPDATE TRACKING VIEWSTAT OR AND
  )
end
types() click to toggle source
# File lib/rouge/lexers/apex.rb, line 37
def self.types
  @types ||= Set.new %w(
    String boolean byte char double float int long short var void
  )
end