class Rouge::Lexers::Lustre

Public Class Methods

keywords() click to toggle source
# File lib/rouge/lexers/lustre.rb, line 12
def self.keywords
  @keywords ||= Set.new %w(
    extern unsafe assert const current enum function let node operator
    returns step struct tel type var model package needs provides uses is
    body end include merge
  )
end
primitives() click to toggle source
# File lib/rouge/lexers/lustre.rb, line 26
def self.primitives
  @primitives ||= Set.new %w(int real bool)
end
word_operators() click to toggle source
# File lib/rouge/lexers/lustre.rb, line 20
def self.word_operators
  @word_operators ||= Set.new %w(
    div and xor mod or not nor if then else fby pre when with
  )
end