"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/clearbasic.lang" (12 May 2020, 3713 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 -- Language definition generated by lang2to3
    2 
    3 Description="ClearBasic"
    4 
    5 Categories = {"source"}
    6 
    7 Keywords={
    8   { Id=1,
    9     List={"and", "as", "byref", "byval", "case", "declare", "dim", "else",
   10         "elseif", "end", "for", "function", "global", "if", "me", "not", "new", "next",
   11         "or", "select", "set", "step", "sub", "then", "to", "type", "while", "aix",
   12         "dodefault", "false", "hpux", "irix", "linux", "mac68k", "macppc", "macintosh",
   13         "netware", "nothing", "null", "os2", "osf1", "pi", "sco", "solaris", "sunos",
   14         "true", "unix", "ultrix", "unixware", "vms", "win16", "win32",
   15         "cbabortretryignore", "cbascending", "cbbyref", "cbbyvalue", "cbclosechildren",
   16         "cbclosemessage", "cbdefclosedwindow", "cbdefclosedwindow", "cbdescending",
   17         "cbequal", "cbfirstmessage", "cbfrontifup", "cbgreater", "cbgreaterorequal",
   18         "cbidabort", "cbidcancel", "cbiddiscard", "cbidignore", "cbidno", "cbidok",
   19         "cbidretry", "cbidsave", "cbidyes", "cbin", "cbless", "cblessorequal", "cblike",
   20         "cbnodefault", "cbnotequal", "cbnotlike", "cbok", "cbokcancel",
   21         "cbrefreshmessage", "cbretrycancel", "cbsavediscardcancel", "cbsoundslike",
   22         "cbyesno", "cbyesnocancel", "ebaix", "ebabort", "ebabortretryignore",
   23         "ebapplicationmodal", "ebarchive", "ebarray", "ebback", "ebbold",
   24         "ebbolditalic", "ebboolean", "ebcfbitmap", "ebcfdib", "ebcfmetafile",
   25         "ebcfpalette", "ebcftext", "ebcfunicode", "ebcancel", "ebcr", "ebcrlf",
   26         "ebcritical", "ebcurrency", "ebdos", "ebdataobject", "ebdate",
   27         "ebdefaultbutton1", "ebdefaultbutton2", "ebdefaultbutton3", "ebdirectory",
   28         "ebdouble", "ebempty", "eberror", "ebexclamation", "ebfirstfourdays",
   29         "ebfirstfullweek", "ebfirstjan1", "ebformfeed", "ebfriday", "ebfromunicode",
   30         "ebhpux", "ebhidden", "ebhide", "ebhiragana", "ebimealphadbl", "ebimealphasng",
   31         "ebimedisabled", "ebimehiragana", "ebimekatakanadbl", "ebimekatakanasng",
   32         "ebimenoop", "ebimeoff", "ebimeon", "ebignore", "ebinformation", "ebinteger",
   33         "ebirix", "ebitalic", "ebkatakana", "eblinux", "eblandscape", "ebleftbutton",
   34         "eblf", "eblong", "eblowercase", "ebmacintosh", "ebmaximized",
   35         "ebmaximizedfocus", "ebminimized", "ebminimizedfocus", "ebminimizednofocus",
   36         "ebmonday", "ebnarrow", "ebnetware", "ebno", "ebnone", "ebnormal",
   37         "ebnormalfocus", "ebnormalnofocus", "ebnull", "ebnullchar", "ebnullstring",
   38         "ebok", "ebokcancel", "ebokonly", "ebos2", "ebosf1", "ebobject", "ebportrait",
   39         "ebpropercase", "ebquestion", "ebreadonly", "ebregular", "ebrestored",
   40         "ebretry", "ebretrycancel", "ebrightbutton", "ebsco", "ebsaturday", "ebsingle",
   41         "ebsolaris", "ebstring", "ebsunos", "ebsunday", "ebsystem", "ebsystemmodal",
   42         "ebtab", "ebthursday", "ebtuesday", "ebultrix", "ebunicode", "ebunixware",
   43         "ebuppercase", "ebvms", "ebvariant", "ebverticaltab", "ebvolume", "ebwednesday",
   44         "ebwide", "ebwin16", "ebwin32", "ebwindows", "ebyes", "ebyesno",
   45         "ebyesnocancel"},
   46   },
   47   { Id=2,
   48     List={"app", "appmenu", "basic", "bool", "boolean", "bulkretrieve",
   49         "bulksave", "clarifydb", "clipboard", "commondialog", "contextualobject",
   50         "control", "dde", "debug", "err", "form", "integer", "list", "long", "msg",
   51         "net", "powerquery", "printer", "record", "sqldb", "screen", "servicemessage",
   52         "string"},
   53   },
   54 }
   55 
   56 Strings={
   57   Delimiter=[["]],
   58 }
   59 
   60 IgnoreCase=true
   61 
   62 Comments={
   63   { Block=false,
   64     Delimiter= { [[']] },
   65   },
   66   { Block=true,
   67     Nested=false,
   68     Delimiter= { [[\/\*]],[[\*\/]],}
   69   }
   70 }
   71 
   72 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-]]
   73