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

  1. object SyntAnal11: 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 = 'Left margin'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clWindowText
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.       BgColor = clBackground
  20.     end
  21.     item
  22.       DisplayName = 'Reserved word'
  23.       Font.Charset = DEFAULT_CHARSET
  24.       Font.Color = clWindowText
  25.       Font.Height = -13
  26.       Font.Name = 'Courier New'
  27.       Font.Style = [fsBold]
  28.     end
  29.     item
  30.       DisplayName = 'Comment'
  31.       Font.Charset = DEFAULT_CHARSET
  32.       Font.Color = clRed
  33.       Font.Height = -13
  34.       Font.Name = 'Courier New'
  35.       Font.Style = [fsBold]
  36.     end
  37.     item
  38.       DisplayName = 'String'
  39.       Font.Charset = DEFAULT_CHARSET
  40.       Font.Color = clBlue
  41.       Font.Height = -13
  42.       Font.Name = 'Courier New'
  43.       Font.Style = []
  44.     end
  45.     item
  46.       DisplayName = 'Number'
  47.       Font.Charset = DEFAULT_CHARSET
  48.       Font.Color = clNavy
  49.       Font.Height = -13
  50.       Font.Name = 'Courier New'
  51.       Font.Style = [fsBold]
  52.     end
  53.     item
  54.       DisplayName = 'Marked block'
  55.       Font.Charset = DEFAULT_CHARSET
  56.       Font.Color = clHighlightText
  57.       Font.Height = -13
  58.       Font.Name = 'Courier New'
  59.       Font.Style = []
  60.       BgColor = clHighlight
  61.       FormatType = ftColor
  62.     end>
  63.   TokenRules = <
  64.     item
  65.       DisplayName = 'Left margin'
  66.       StyleName = 'Left margin'
  67.       Expression = '^.{6}[^*]'#13#10
  68.       ColumnFrom = 0
  69.       ColumnTo = 0
  70.     end
  71.     item
  72.       DisplayName = 'Comment 1'
  73.       StyleName = 'Comment'
  74.       TokenType = 1
  75.       Expression = '^.{6}\*.*'
  76.       ColumnFrom = 0
  77.       ColumnTo = 0
  78.     end
  79.     item
  80.       DisplayName = 'Comment 2'
  81.       StyleName = 'Comment'
  82.       TokenType = 1
  83.       Expression = '\|.*'#13#10
  84.       ColumnFrom = 0
  85.       ColumnTo = 0
  86.     end
  87.     item
  88.       DisplayName = 'Any name'
  89.       TokenType = 2
  90.       Expression = '[a-z_][-\w]*'
  91.       ColumnFrom = 0
  92.       ColumnTo = 0
  93.     end
  94.     item
  95.       DisplayName = 'String'
  96.       StyleName = 'String'
  97.       TokenType = 4
  98.       Expression = '".*?("|$)'
  99.       ColumnFrom = 0
  100.       ColumnTo = 0
  101.     end
  102.     item
  103.       DisplayName = 'Float'
  104.       StyleName = 'Number'
  105.       TokenType = 6
  106.       Expression = '\d+ \.? \d+ e [\+\-]? \d+ |'#13#10'\d+ \. \d+'
  107.       ColumnFrom = 0
  108.       ColumnTo = 0
  109.     end
  110.     item
  111.       DisplayName = 'Integer'
  112.       StyleName = 'Number'
  113.       TokenType = 5
  114.       Expression = '\d+'
  115.       ColumnFrom = 0
  116.       ColumnTo = 0
  117.     end
  118.     item
  119.       DisplayName = 'Symbol'
  120.       TokenType = 3
  121.       Expression = '\.'#13#10
  122.       ColumnFrom = 0
  123.       ColumnTo = 0
  124.     end>
  125.   BlockRules = <
  126.     item
  127.       DisplayName = 'Key words'
  128.       StyleName = 'Reserved word'
  129.       BlockType = btTagDetect
  130.       ConditionList = <
  131.         item
  132.           TagList.Strings = (
  133.             'accept'
  134.             'access'
  135.             'add'
  136.             'address'
  137.             'advancing'
  138.             'after'
  139.             'all'
  140.             'alphabet'
  141.             'also'
  142.             'alter'
  143.             'alternate'
  144.             'and'
  145.             'any'
  146.             'apply'
  147.             'are'
  148.             'area'
  149.             'areas'
  150.             'ascending'
  151.             'assign'
  152.             'at'
  153.             'basis'
  154.             'before'
  155.             'beginning'
  156.             'binary'
  157.             'blank'
  158.             'block'
  159.             'bottom'
  160.             'by'
  161.             'call'
  162.             'cancel'
  163.             'cbl'
  164.             'character'
  165.             'characters'
  166.             'class'
  167.             'close'
  168.             'collating'
  169.             'comma'
  170.             'common'
  171.             'compute'
  172.             'configuration'
  173.             'contains'
  174.             'content'
  175.             'continue'
  176.             'converting'
  177.             'copy'
  178.             'corr'
  179.             'corresponding'
  180.             'count'
  181.             'currency'
  182.             'data'
  183.             'day'
  184.             'dbcs'
  185.             'debugging'
  186.             'declaratives'
  187.             'degugging'
  188.             'delete'
  189.             'delimited'
  190.             'delimiter'
  191.             'depending'
  192.             'descending'
  193.             'divide'
  194.             'division'
  195.             'down'
  196.             'duplicates'
  197.             'dynamic'
  198.             'ebcdic'
  199.             'egcs'
  200.             'eject'
  201.             'else'
  202.             'ending'
  203.             'enter'
  204.             'entry'
  205.             'environment'
  206.             'eop'
  207.             'equal'
  208.             'error'
  209.             'evaluate'
  210.             'every'
  211.             'exception'
  212.             'exit'
  213.             'extend'
  214.             'external'
  215.             'f'
  216.             'false'
  217.             'fd'
  218.             'filler'
  219.             'first'
  220.             'footing'
  221.             'for'
  222.             'from'
  223.             'giving'
  224.             'global'
  225.             'go'
  226.             'goback'
  227.             'greater'
  228.             'id'
  229.             'identification'
  230.             'if'
  231.             'in'
  232.             'index'
  233.             'indexed'
  234.             'initial'
  235.             'initialize'
  236.             'insert'
  237.             'inspect'
  238.             'installation'
  239.             'into'
  240.             'invalid'
  241.             'is'
  242.             'just'
  243.             'justified'
  244.             'kanji'
  245.             'key'
  246.             'label'
  247.             'leading'
  248.             'left'
  249.             'length'
  250.             'less'
  251.             'line'
  252.             'lines'
  253.             'linkage'
  254.             'list'
  255.             'lock'
  256.             'map'
  257.             'memory'
  258.             'merge'
  259.             'mode'
  260.             'modules'
  261.             'move'
  262.             'multiple'
  263.             'multiply'
  264.             'native'
  265.             'negative'
  266.             'next'
  267.             'no'
  268.             'nolist'
  269.             'nomap'
  270.             'nosource'
  271.             'not'
  272.             'null'
  273.             'nulls'
  274.             'occurs'
  275.             'of'
  276.             'off'
  277.             'omitted'
  278.             'on'
  279.             'open'
  280.             'optional'
  281.             'or'
  282.             'order'
  283.             'organization'
  284.             'other'
  285.             'output'
  286.             'overflow'
  287.             'padding'
  288.             'page'
  289.             'password'
  290.             'perform'
  291.             'pic'
  292.             'picture'
  293.             'pointer'
  294.             'position'
  295.             'positive'
  296.             'procedure'
  297.             'procedures'
  298.             'proceed'
  299.             'process'
  300.             'quote'
  301.             'quotes'
  302.             'random'
  303.             'read'
  304.             'ready'
  305.             'record'
  306.             'recording'
  307.             'records'
  308.             'redefines'
  309.             'reel'
  310.             'reference'
  311.             'relative'
  312.             'release'
  313.             'reload'
  314.             'remainder'
  315.             'removal'
  316.             'renames'
  317.             'replace'
  318.             'replacing'
  319.             'rerun'
  320.             'reserve'
  321.             'reset'
  322.             'reversed'
  323.             'rewind'
  324.             'rewrite'
  325.             'right'
  326.             'rounded'
  327.             'run'
  328.             's'
  329.             'same'
  330.             'sd'
  331.             'search'
  332.             'section'
  333.             'select'
  334.             'sentence'
  335.             'separate'
  336.             'sequence'
  337.             'sequential'
  338.             'service'
  339.             'set'
  340.             'sign'
  341.             'size'
  342.             'skip1'
  343.             'skip2'
  344.             'skip3'
  345.             'space'
  346.             'spaces'
  347.             'start'
  348.             'status'
  349.             'stop'
  350.             'string'
  351.             'subtract'
  352.             'suppress'
  353.             'symbolic'
  354.             'sync'
  355.             'synchronized'
  356.             'tally'
  357.             'tallying'
  358.             'tape'
  359.             'test'
  360.             'than'
  361.             'then'
  362.             'through'
  363.             'thru'
  364.             'time'
  365.             'times'
  366.             'title'
  367.             'to'
  368.             'top'
  369.             'trace'
  370.             'trailing'
  371.             'true'
  372.             'u'
  373.             'unit'
  374.             'unstring'
  375.             'until'
  376.             'up'
  377.             'upon'
  378.             'usage'
  379.             'use'
  380.             'using'
  381.             'v'
  382.             'value'
  383.             'values'
  384.             'varying'
  385.             'with'
  386.             'words'
  387.             'zero'
  388.             'zeroes'
  389.             'zeros')
  390.           TokenTypes = 4
  391.         end>
  392.       HighlightPos = cpAny
  393.       IgnoreAsParent = False
  394.     end
  395.     item
  396.       DisplayName = 'other'
  397.       StyleName = 'Reserved word'
  398.       BlockType = btTagDetect
  399.       ConditionList = <
  400.         item
  401.           TagList.Strings = (
  402.             'alphabetic'
  403.             'alphabetic-lower'
  404.             'alphabetic-upper'
  405.             'alphanumeric'
  406.             'alphanumeric-edited'
  407.             'author'
  408.             'code-set'
  409.             'comp'
  410.             'comp-1'
  411.             'comp-2'
  412.             'comp-3'
  413.             'comp-4'
  414.             'computational'
  415.             'computational-1'
  416.             'computational-2'
  417.             'computational-3'
  418.             'computational-4'
  419.             'date'
  420.             'date-compiled'
  421.             'date-written'
  422.             'day-of-week'
  423.             'debug-item'
  424.             'decimal-point'
  425.             'display'
  426.             'display-1'
  427.             'end'
  428.             'end-add'
  429.             'end-call'
  430.             'end-compute'
  431.             'end-delete'
  432.             'end-divide'
  433.             'end-evaluate'
  434.             'end-if'
  435.             'end-multiply'
  436.             'end-of-page'
  437.             'end-perform'
  438.             'end-read'
  439.             'end-return'
  440.             'end-rewrite'
  441.             'end-search'
  442.             'end-start'
  443.             'end-string'
  444.             'end-subtract'
  445.             'end-unstring'
  446.             'end-write'
  447.             'file'
  448.             'file-control'
  449.             'high-value'
  450.             'high-values'
  451.             'input'
  452.             'input-output'
  453.             'i-o'
  454.             'i-o-control'
  455.             'linage'
  456.             'linage-counter'
  457.             'low-value'
  458.             'low-values'
  459.             'more-labels'
  460.             'numeric'
  461.             'numeric-edited'
  462.             'object-computer'
  463.             'packed-decimal'
  464.             'program'
  465.             'program-id'
  466.             'return'
  467.             'return-code'
  468.             'security'
  469.             'segment-limit'
  470.             'shift-in'
  471.             'shift-out'
  472.             'sort'
  473.             'sort-control'
  474.             'sort-core-size'
  475.             'sort-file-size'
  476.             'sort-merge'
  477.             'sort-message'
  478.             'sort-mode-size'
  479.             'sort-return'
  480.             'source'
  481.             'source-computer'
  482.             'special-names'
  483.             'standard'
  484.             'standard-1'
  485.             'standard-2'
  486.             'when'
  487.             'when-compiled'
  488.             'working-storage'
  489.             'write'
  490.             'write-only')
  491.           TokenTypes = 4
  492.           IgnoreCase = True
  493.         end>
  494.       HighlightPos = cpAny
  495.       IgnoreAsParent = False
  496.     end
  497.     item
  498.       DisplayName = 'Block begin'
  499.       ConditionList = <
  500.         item
  501.           TagList.Strings = (
  502.             'if')
  503.           TokenTypes = 4
  504.         end>
  505.       BlockEnd = 'Block end'
  506.       HighlightPos = cpAny
  507.       IgnoreAsParent = False
  508.     end
  509.     item
  510.       DisplayName = 'Block end'
  511.       BlockName = 'Block begin'
  512.       StrictParent = True
  513.       BlockType = btRangeEnd
  514.       ConditionList = <
  515.         item
  516.           TagList.Strings = (
  517.             '.')
  518.           TokenTypes = 8
  519.         end>
  520.       HighlightPos = cpAny
  521.       IgnoreAsParent = False
  522.     end>
  523.   CodeTemplates = <>
  524.   SubAnalyzers = <>
  525.   TokenTypeNames.Strings = (
  526.     'Unknown'
  527.     'Comment'
  528.     'Identifier'
  529.     'Symbol'
  530.     'String'
  531.     'Integer const'
  532.     'Float const'
  533.     'Hex const'
  534.     'Char const'
  535.     'Preprocessor')
  536.   MarkedBlockStyle = 'Marked block'
  537.   DefaultStyleName = 'Default'
  538.   Extentions = 'cbl'
  539.   LexerName = 'Cobol'
  540.   SkipSpaces = False
  541.   Internal = True
  542. end
  543.