"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/scss.lang" (12 May 2020, 739 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. See also the last Fossies "Diffs" side-by-side code changes report for "scss.lang": 3.53_vs_3.54.

    1 Description="SASS/SCSS"
    2 
    3 Categories = {"markup"}
    4 
    5 Identifiers=[[ [a-zA-Z_\-][\w\-]* ]]
    6 
    7 Digits=[=[ \#[[:xdigit:]]{3,6}|\d*\.?\d+?\w* ]=]
    8 
    9 Keywords={
   10   { Id=1,
   11     List={
   12     'in', 'to', 'from', 'through', 'false', 'true', 'global', 'optional','default'
   13     },
   14   },
   15   { Id=2,
   16     Regex=[[\$[\w\-]+]],
   17   },
   18     { Id=3,
   19     Regex=[[@[\w\-]+]],
   20   },
   21   { Id=4,
   22     Regex=[[([\w\-]+)\s*\(]],
   23   },
   24 }
   25 
   26 Strings={
   27   Delimiter=[["|']],
   28   Escape= [=[ \\[[:xdigit:]]{4} ]=],
   29   Interpolation=[[ %\d?\$?s ]],
   30 }
   31 
   32 IgnoreCase=false
   33 
   34 Comments = {
   35   { Block=true,
   36     Nested=false,
   37     Delimiter = { [[\/\*]], [[\*\/]] }
   38   },
   39   {
   40     Block=false,
   41     Delimiter = { [[//]] }
   42   }
   43 }
   44 
   45 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\.|\:|\&|<|>|\!|\=|\/|\*|\%|\+|\-|\~|\#]]