home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / ASAPMetaLanguge.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  5.0 KB  |  217 lines

  1. object SyntAnal18: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Symbol'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clMaroon
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = [fsBold]
  19.     end
  20.     item
  21.       DisplayName = 'Number'
  22.       Font.Charset = DEFAULT_CHARSET
  23.       Font.Color = clNavy
  24.       Font.Height = -13
  25.       Font.Name = 'Courier New'
  26.       Font.Style = [fsBold]
  27.     end
  28.     item
  29.       DisplayName = 'String'
  30.       Font.Charset = DEFAULT_CHARSET
  31.       Font.Color = clBlue
  32.       Font.Height = -13
  33.       Font.Name = 'Courier New'
  34.       Font.Style = []
  35.     end
  36.     item
  37.       DisplayName = 'Identifier'
  38.       Font.Charset = DEFAULT_CHARSET
  39.       Font.Color = clWindowText
  40.       Font.Height = -13
  41.       Font.Name = 'Courier New'
  42.       Font.Style = []
  43.     end
  44.     item
  45.       DisplayName = 'Reserved word'
  46.       Font.Charset = DEFAULT_CHARSET
  47.       Font.Color = clWindowText
  48.       Font.Height = -13
  49.       Font.Name = 'Courier New'
  50.       Font.Style = [fsBold]
  51.     end
  52.     item
  53.       DisplayName = 'Simple types'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clNavy
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = [fsUnderline]
  59.     end
  60.     item
  61.       DisplayName = 'Comment'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clRed
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = [fsBold]
  67.     end
  68.     item
  69.       DisplayName = 'Marked block'
  70.       Font.Charset = DEFAULT_CHARSET
  71.       Font.Color = clHighlightText
  72.       Font.Height = -13
  73.       Font.Name = 'Courier New'
  74.       Font.Style = []
  75.       BgColor = clHighlight
  76.       FormatType = ftColor
  77.     end>
  78.   TokenRules = <
  79.     item
  80.       DisplayName = 'String'
  81.       StyleName = 'String'
  82.       TokenType = 4
  83.       Expression = '(?s)".*?("|$)'
  84.       ColumnFrom = 0
  85.       ColumnTo = 0
  86.     end
  87.     item
  88.       DisplayName = 'Comment'
  89.       StyleName = 'Comment'
  90.       TokenType = 1
  91.       Expression = '(?s)/\*.*?(\*/|\Z)'
  92.       ColumnFrom = 0
  93.       ColumnTo = 0
  94.     end
  95.     item
  96.       DisplayName = 'Any name'
  97.       StyleName = 'Identifier'
  98.       TokenType = 2
  99.       Expression = '[a-z_]\w*'
  100.       ColumnFrom = 0
  101.       ColumnTo = 0
  102.     end
  103.     item
  104.       DisplayName = 'Float'
  105.       StyleName = 'Number'
  106.       TokenType = 6
  107.       Expression = '\d+\.?\d+e[\+\-]?\d+|\d+\.\d+'
  108.       ColumnFrom = 0
  109.       ColumnTo = 0
  110.     end
  111.     item
  112.       DisplayName = 'Integer'
  113.       StyleName = 'Number'
  114.       TokenType = 5
  115.       Expression = '\d+'
  116.       ColumnFrom = 0
  117.       ColumnTo = 0
  118.     end
  119.     item
  120.       DisplayName = 'HEX'
  121.       StyleName = 'Number'
  122.       TokenType = 7
  123.       Expression = '0x[\da-f]+'
  124.       ColumnFrom = 0
  125.       ColumnTo = 0
  126.     end
  127.     item
  128.       DisplayName = 'Symbol'
  129.       StyleName = 'Symbol'
  130.       TokenType = 3
  131.       Expression = '[/,\.;\(\)\+\-\{\}\[\]\*]'
  132.       ColumnFrom = 0
  133.       ColumnTo = 0
  134.     end>
  135.   BlockRules = <
  136.     item
  137.       DisplayName = 'Key words'
  138.       StyleName = 'Reserved word'
  139.       BlockType = btTagDetect
  140.       ConditionList = <
  141.         item
  142.           TagList.Strings = (
  143.             'block'
  144.             'enum'
  145.             'struct'
  146.             'taggedstruct'
  147.             'taggedunion')
  148.           TokenTypes = 4
  149.           IgnoreCase = True
  150.         end>
  151.       HighlightPos = cpAny
  152.       IgnoreAsParent = False
  153.     end
  154.     item
  155.       DisplayName = 'Types'
  156.       StyleName = 'Simple types'
  157.       BlockType = btTagDetect
  158.       ConditionList = <
  159.         item
  160.           TagList.Strings = (
  161.             'char'
  162.             'double'
  163.             'float'
  164.             'int'
  165.             'long'
  166.             'uchar'
  167.             'uint'
  168.             'ulong')
  169.           TokenTypes = 4
  170.         end>
  171.       HighlightPos = cpAny
  172.       IgnoreAsParent = False
  173.     end
  174.     item
  175.       DisplayName = 'Block begin'
  176.       ConditionList = <
  177.         item
  178.           TagList.Strings = (
  179.             '{')
  180.           TokenTypes = 8
  181.         end>
  182.       BlockEnd = 'Block end'
  183.       DisplayInTree = False
  184.       HighlightPos = cpAny
  185.       IgnoreAsParent = False
  186.     end
  187.     item
  188.       DisplayName = 'Block end'
  189.       BlockType = btRangeEnd
  190.       ConditionList = <
  191.         item
  192.           TagList.Strings = (
  193.             '}')
  194.           TokenTypes = 8
  195.         end>
  196.       HighlightPos = cpAny
  197.       IgnoreAsParent = False
  198.     end>
  199.   CodeTemplates = <>
  200.   SubAnalyzers = <>
  201.   TokenTypeNames.Strings = (
  202.     'Unknown'
  203.     'Comment'
  204.     'Identifier'
  205.     'Symbol'
  206.     'String'
  207.     'Integer const'
  208.     'Float const'
  209.     'Hex const')
  210.   MarkedBlockStyle = 'Marked block'
  211.   DefaultStyleName = 'Default'
  212.   LexerName = 'ASAP Meta Languge'
  213.   Internal = True
  214.   Left = 140
  215.   Top = 160
  216. end
  217.