class Rouge::Lexers::VisualBasic

Public Class Methods

builtins() click to toggle source
# File lib/rouge/lexers/vb.rb, line 46
def self.builtins
  @builtins ||= Set.new %w(
    Console ConsoleColor
  )
end
keywords() click to toggle source
# File lib/rouge/lexers/vb.rb, line 13
def self.keywords
  @keywords ||= Set.new %w(
    AddHandler Alias ByRef ByVal CBool CByte CChar CDate CDbl CDec
    CInt CLng CObj CSByte CShort CSng CStr CType CUInt CULng CUShort
    Call Case Catch Class Const Continue Declare Default Delegate
    Dim DirectCast Do Each Else ElseIf End EndIf Enum Erase Error
    Event Exit False Finally For Friend Function Get Global GoSub
    GoTo Handles If Implements Imports Inherits Interface Let
    Lib Loop Me Module MustInherit MustOverride MyBase MyClass
    Namespace Narrowing New Next Not NotInheritable NotOverridable
    Nothing Of On Operator Option Optional Overloads Overridable
    Overrides ParamArray Partial Private Property Protected Public
    RaiseEvent ReDim ReadOnly RemoveHandler Resume Return Select Set
    Shadows Shared Single Static Step Stop Structure Sub SyncLock
    Then Throw To True Try TryCast Using Wend When While Widening
    With WithEvents WriteOnly
  )
end
keywords_type() click to toggle source
# File lib/rouge/lexers/vb.rb, line 32
def self.keywords_type
  @keywords_type ||= Set.new %w(
    Boolean Byte Char Date Decimal Double Integer Long Object
    SByte Short Single String Variant UInteger ULong UShort
  )
end
operator_words() click to toggle source
# File lib/rouge/lexers/vb.rb, line 39
def self.operator_words
  @operator_words ||= Set.new %w(
    AddressOf And AndAlso As GetType In Is IsNot Like Mod Or OrElse
    TypeOf Xor
  )
end