"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/vb.lang" (12 May 2020, 1408 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 Description="Visual Basic"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"and", "as", "begin", "case", "call", "continue", "do", "each",
    9         "else", "elseif", "end", "erase", "error", "event", "exit", "false", "for",
   10         "function", "get", "gosub", "goto", "if", "implement", "in", "load", "loop",
   11         "lset", "me", "mid", "new", "next", "not", "nothing", "on", "or", "property",
   12         "raiseevent", "resume", "return", "rset", "select", "set", "stop", "sub",
   13         "then", "to", "true", "unload", "until", "wend", "while", "with", "withevents",
   14         "attribute", "alias", "as", "", "byref", "", "byval", "", "compare", "", "",
   15         "declare", "explicit", "friend", "global", "let", "lib", "", "module", "object",
   16         "option", "optional", "preserve", "private", "property", "public", "redim", "",
   17         "type", "dim", "const"},
   18   },
   19   { Id=2,
   20     List={"boolean", "", "byte", "", "currency", "date", "decimal", "", "double", "enum",
   21             "integer", "", "long", "single", "static", "string", "variant"},
   22   },
   23     { Id=2,
   24     Regex=[[\$\S+]],
   25   },
   26   --labels:
   27   { Id=3,
   28     Regex=[[^\s*(\w+):$]],
   29   },
   30   { Id=4,
   31     Regex=[[(\w+)\s*\(]],
   32   }
   33 }
   34 
   35 
   36 Strings={
   37   Delimiter=[["]],
   38     Escape=[[\"\"]]
   39 }
   40 
   41 IgnoreCase=true
   42 
   43 Comments={
   44   { Block=false,
   45     Delimiter= { [['|rem|REM|Rem]] },
   46   },
   47 }
   48 
   49 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\.]]
   50