class Rouge::Lexers::FSharp
Public Class Methods
keyopts()
click to toggle source
# File lib/rouge/lexers/fsharp.rb, line 28 def self.keyopts @keyopts ||= Set.new %w( != # & && ( ) * \+ , - -. -> . .. : :: := :> ; ;; < <- = > >] >} ? ?? [ [< [> [| ] _ ` { {< | |] } ~ |> <| <> ) end
keywords()
click to toggle source
# File lib/rouge/lexers/fsharp.rb, line 12 def self.keywords @keywords ||= Set.new %w( abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let let! match member module mutable namespace new not null of open or override private public rec return return! select static struct then to true try type upcast use use! val void when while with yield yield! sig atomic break checked component const constraint constructor continue eager event external fixed functor include method mixin object parallel process protected pure sealed tailcall trait virtual volatile ) end
primitives()
click to toggle source
# File lib/rouge/lexers/fsharp.rb, line 39 def self.primitives @primitives ||= Set.new %w(unit int float bool string char list array) end
word_operators()
click to toggle source
# File lib/rouge/lexers/fsharp.rb, line 35 def self.word_operators @word_operators ||= Set.new %w(and asr land lor lsl lxor mod or) end