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

  1. object SyntAnal12: 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 = 'Comment'
  54.       Font.Charset = DEFAULT_CHARSET
  55.       Font.Color = clRed
  56.       Font.Height = -13
  57.       Font.Name = 'Courier New'
  58.       Font.Style = [fsBold]
  59.     end
  60.     item
  61.       DisplayName = 'Std functions'
  62.       Font.Charset = DEFAULT_CHARSET
  63.       Font.Color = clNavy
  64.       Font.Height = -13
  65.       Font.Name = 'Courier New'
  66.       Font.Style = [fsBold, fsUnderline]
  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 = 'Comment 3'
  81.       StyleName = 'Comment'
  82.       TokenType = 1
  83.       Expression = '^c.*'
  84.       ColumnFrom = 0
  85.       ColumnTo = 0
  86.     end
  87.     item
  88.       DisplayName = 'Any name'
  89.       StyleName = 'Identifier'
  90.       TokenType = 2
  91.       Expression = '[a-z_]\w*'
  92.       ColumnFrom = 0
  93.       ColumnTo = 0
  94.     end
  95.     item
  96.       DisplayName = 'String'
  97.       StyleName = 'String'
  98.       TokenType = 4
  99.       Expression = #39'.*?('#39'|$)'
  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+ |'#13#10'\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 = 'Symbol'
  121.       StyleName = 'Symbol'
  122.       TokenType = 3
  123.       Expression = '[/\*,\.;:\(\)=<>\+\-\[\]]'
  124.       ColumnFrom = 0
  125.       ColumnTo = 0
  126.     end>
  127.   BlockRules = <
  128.     item
  129.       DisplayName = 'Key words'
  130.       StyleName = 'Reserved word'
  131.       BlockType = btTagDetect
  132.       ConditionList = <
  133.         item
  134.           TagList.Strings = (
  135.             'access'
  136.             'action'
  137.             'advance'
  138.             'allocatable'
  139.             'allocate'
  140.             'apostrophe'
  141.             'assign'
  142.             'assignment'
  143.             'associate'
  144.             'asynchronous'
  145.             'backspace'
  146.             'bind'
  147.             'blank'
  148.             'blockdata'
  149.             'call'
  150.             'case'
  151.             'character'
  152.             'class'
  153.             'close'
  154.             'common'
  155.             'complex'
  156.             'contains'
  157.             'continue'
  158.             'cycle'
  159.             'data'
  160.             'deallocate'
  161.             'decimal'
  162.             'default'
  163.             'delim'
  164.             'dimension'
  165.             'direct'
  166.             'do'
  167.             'double'
  168.             'doubleprecision'
  169.             'dowhile'
  170.             'else'
  171.             'elseif'
  172.             'elsewhere'
  173.             'encoding'
  174.             'end'
  175.             'endassociate'
  176.             'endblockdata'
  177.             'enddo'
  178.             'endfile'
  179.             'endforall'
  180.             'endfunction'
  181.             'endif'
  182.             'endinterface'
  183.             'endmodule'
  184.             'endprogram'
  185.             'endselect'
  186.             'endsubroutine'
  187.             'endtype'
  188.             'endwhere'
  189.             'entry'
  190.             'eor'
  191.             'equivalence'
  192.             'err'
  193.             'errmsg'
  194.             'exist'
  195.             'exit'
  196.             'external'
  197.             'file'
  198.             'flush'
  199.             'fmt'
  200.             'forall'
  201.             'form'
  202.             'format'
  203.             'formatted'
  204.             'function'
  205.             'go'
  206.             'goto'
  207.             'id'
  208.             'if'
  209.             'implicit'
  210.             'in'
  211.             'include'
  212.             'inout'
  213.             'inquire'
  214.             'integer'
  215.             'intent'
  216.             'interface'
  217.             'intrinsic'
  218.             'iolength'
  219.             'iomsg'
  220.             'iostat'
  221.             'kind'
  222.             'len'
  223.             'logical'
  224.             'module'
  225.             'name'
  226.             'named'
  227.             'namelist'
  228.             'nextrec'
  229.             'nml'
  230.             'none'
  231.             'nullify'
  232.             'number'
  233.             'only'
  234.             'open'
  235.             'opened'
  236.             'operator'
  237.             'optional'
  238.             'out'
  239.             'pad'
  240.             'parameter'
  241.             'pass'
  242.             'pause'
  243.             'pending'
  244.             'pointer'
  245.             'pos'
  246.             'position'
  247.             'precision'
  248.             'print'
  249.             'private'
  250.             'program'
  251.             'protected'
  252.             'public'
  253.             'quote'
  254.             'read'
  255.             'readwrite'
  256.             'real'
  257.             'rec'
  258.             'recl'
  259.             'recursive'
  260.             'result'
  261.             'return'
  262.             'rewind'
  263.             'save'
  264.             'select'
  265.             'selectcase'
  266.             'selecttype'
  267.             'sequential'
  268.             'sign'
  269.             'size'
  270.             'stat'
  271.             'status'
  272.             'stop'
  273.             'stream'
  274.             'subroutine'
  275.             'target'
  276.             'then'
  277.             'to'
  278.             'type'
  279.             'unformatted'
  280.             'unit'
  281.             'use'
  282.             'value'
  283.             'volatile'
  284.             'wait'
  285.             'where'
  286.             'while'
  287.             'write')
  288.           TokenTypes = 4
  289.         end>
  290.       HighlightPos = cpAny
  291.       IgnoreAsParent = False
  292.     end
  293.     item
  294.       DisplayName = 'std functions'
  295.       StyleName = 'Std functions'
  296.       BlockType = btTagDetect
  297.       ConditionList = <
  298.         item
  299.           TagList.Strings = (
  300.             'abs'
  301.             'achar'
  302.             'acos'
  303.             'acosd'
  304.             'adjustl'
  305.             'adjustr'
  306.             'aimag'
  307.             'aimax0'
  308.             'aimin0'
  309.             'aint'
  310.             'ajmax0'
  311.             'ajmin0'
  312.             'akmax0'
  313.             'akmin0'
  314.             'all'
  315.             'allocated'
  316.             'alog'
  317.             'alog10'
  318.             'amax0'
  319.             'amax1'
  320.             'amin0'
  321.             'amin1'
  322.             'amod'
  323.             'anint'
  324.             'any'
  325.             'asin'
  326.             'asind'
  327.             'associated'
  328.             'atan'
  329.             'atan2'
  330.             'atan2d'
  331.             'atand'
  332.             'bit_size'
  333.             'bitest'
  334.             'bitl'
  335.             'bitlr'
  336.             'bitrl'
  337.             'bjtest'
  338.             'bktest'
  339.             'break'
  340.             'btest'
  341.             'cabs'
  342.             'ccos'
  343.             'cdabs'
  344.             'cdcos'
  345.             'cdexp'
  346.             'cdlog'
  347.             'cdsin'
  348.             'cdsqrt'
  349.             'ceiling'
  350.             'cexp'
  351.             'char'
  352.             'clog'
  353.             'cmplx'
  354.             'conjg'
  355.             'cos'
  356.             'cosd'
  357.             'cosh'
  358.             'count'
  359.             'cpu_time'
  360.             'cshift'
  361.             'csin'
  362.             'csqrt'
  363.             'dabs'
  364.             'dacos'
  365.             'dacosd'
  366.             'dasin'
  367.             'dasind'
  368.             'datan'
  369.             'datan2'
  370.             'datan2d'
  371.             'datand'
  372.             'date'
  373.             'date_and_time'
  374.             'dble'
  375.             'dcmplx'
  376.             'dconjg'
  377.             'dcos'
  378.             'dcosd'
  379.             'dcosh'
  380.             'dcotan'
  381.             'ddim'
  382.             'dexp'
  383.             'dfloat'
  384.             'dfloti'
  385.             'dflotj'
  386.             'dflotk'
  387.             'digits'
  388.             'dim'
  389.             'dimag'
  390.             'dint'
  391.             'dlog'
  392.             'dlog10'
  393.             'dmax1'
  394.             'dmin1'
  395.             'dmod'
  396.             'dnint'
  397.             'dot_product'
  398.             'dprod'
  399.             'dreal'
  400.             'dsign'
  401.             'dsin'
  402.             'dsind'
  403.             'dsinh'
  404.             'dsqrt'
  405.             'dtan'
  406.             'dtand'
  407.             'dtanh'
  408.             'eoshift'
  409.             'epsilon'
  410.             'errsns'
  411.             'exp'
  412.             'exponent'
  413.             'float'
  414.             'floati'
  415.             'floatj'
  416.             'floatk'
  417.             'floor'
  418.             'fraction'
  419.             'free'
  420.             'huge'
  421.             'iabs'
  422.             'iachar'
  423.             'iand'
  424.             'ibclr'
  425.             'ibits'
  426.             'ibset'
  427.             'ichar'
  428.             'idate'
  429.             'idim'
  430.             'idint'
  431.             'idnint'
  432.             'ieor'
  433.             'ifix'
  434.             'iiabs'
  435.             'iiand'
  436.             'iibclr'
  437.             'iibits'
  438.             'iibset'
  439.             'iidim'
  440.             'iidint'
  441.             'iidnnt'
  442.             'iieor'
  443.             'iifix'
  444.             'iint'
  445.             'iior'
  446.             'iiqint'
  447.             'iiqnnt'
  448.             'iishft'
  449.             'iishftc'
  450.             'iisign'
  451.             'ilen'
  452.             'imax0'
  453.             'imax1'
  454.             'imin0'
  455.             'imin1'
  456.             'imod'
  457.             'index'
  458.             'inint'
  459.             'inot'
  460.             'int'
  461.             'int1'
  462.             'int2'
  463.             'int4'
  464.             'int8'
  465.             'ior'
  466.             'iqint'
  467.             'iqnint'
  468.             'ishft'
  469.             'ishftc'
  470.             'isign'
  471.             'isnan'
  472.             'izext'
  473.             'jiand'
  474.             'jibclr'
  475.             'jibits'
  476.             'jibset'
  477.             'jidim'
  478.             'jidint'
  479.             'jidnnt'
  480.             'jieor'
  481.             'jifix'
  482.             'jint'
  483.             'jior'
  484.             'jiqint'
  485.             'jiqnnt'
  486.             'jishft'
  487.             'jishftc'
  488.             'jisign'
  489.             'jmax0'
  490.             'jmax1'
  491.             'jmin0'
  492.             'jmin1'
  493.             'jmod'
  494.             'jnint'
  495.             'jnot'
  496.             'jzext'
  497.             'kiabs'
  498.             'kiand'
  499.             'kibclr'
  500.             'kibits'
  501.             'kibset'
  502.             'kidim'
  503.             'kidint'
  504.             'kidnnt'
  505.             'kieor'
  506.             'kifix'
  507.             'kind'
  508.             'kint'
  509.             'kior'
  510.             'kishft'
  511.             'kishftc'
  512.             'kisign'
  513.             'kmax0'
  514.             'kmax1'
  515.             'kmin0'
  516.             'kmin1'
  517.             'kmod'
  518.             'knint'
  519.             'knot'
  520.             'kzext'
  521.             'lbound'
  522.             'leadz'
  523.             'len'
  524.             'len_trim'
  525.             'lenlge'
  526.             'lge'
  527.             'lgt'
  528.             'lle'
  529.             'llt'
  530.             'log'
  531.             'log10'
  532.             'logical'
  533.             'lshift'
  534.             'malloc'
  535.             'matmul'
  536.             'max'
  537.             'max0'
  538.             'max1'
  539.             'maxexponent'
  540.             'maxloc'
  541.             'maxval'
  542.             'merge'
  543.             'min'
  544.             'min0'
  545.             'min1'
  546.             'minexponent'
  547.             'minloc'
  548.             'minval'
  549.             'mod'
  550.             'modulo'
  551.             'mvbits'
  552.             'nearest'
  553.             'nint'
  554.             'not'
  555.             'number_of_processors'
  556.             'nworkers'
  557.             'pack'
  558.             'popcnt'
  559.             'poppar'
  560.             'precision'
  561.             'present'
  562.             'product'
  563.             'radix'
  564.             'random'
  565.             'random_number'
  566.             'random_seed'
  567.             'range'
  568.             'real'
  569.             'repeat'
  570.             'reshape'
  571.             'rrspacing'
  572.             'rshift'
  573.             'scale'
  574.             'scan'
  575.             'secnds'
  576.             'selected_int_kind'
  577.             'selected_real_kind'
  578.             'set_exponent'
  579.             'shape'
  580.             'sign'
  581.             'sin'
  582.             'sind'
  583.             'sinh'
  584.             'size'
  585.             'sizeof'
  586.             'sngl'
  587.             'snglq'
  588.             'spacing'
  589.             'spread'
  590.             'sqrt'
  591.             'sum'
  592.             'system_clock'
  593.             'tan'
  594.             'tand'
  595.             'tanh'
  596.             'tiny'
  597.             'transfer'
  598.             'transpose'
  599.             'trim'
  600.             'ubound'
  601.             'unpack'
  602.             'verify')
  603.           TokenTypes = 4
  604.         end>
  605.       HighlightPos = cpAny
  606.       IgnoreAsParent = False
  607.     end
  608.     item
  609.       DisplayName = 'IF'
  610.       ConditionList = <
  611.         item
  612.           TagList.Strings = (
  613.             'if')
  614.           TokenTypes = 4
  615.         end>
  616.       BlockEnd = 'endif'
  617.       DisplayInTree = False
  618.       HighlightPos = cpAny
  619.       IgnoreAsParent = False
  620.     end
  621.     item
  622.       DisplayName = 'endif'
  623.       BlockType = btRangeEnd
  624.       ConditionList = <
  625.         item
  626.           TagList.Strings = (
  627.             'endif')
  628.           TokenTypes = 4
  629.         end>
  630.       HighlightPos = cpAny
  631.       IgnoreAsParent = False
  632.     end>
  633.   CodeTemplates = <>
  634.   SubAnalyzers = <>
  635.   TokenTypeNames.Strings = (
  636.     'Unknown'
  637.     'Comment'
  638.     'Identifier'
  639.     'Symbol'
  640.     'String'
  641.     'Integer const'
  642.     'Float const'
  643.     'Hex const'
  644.     'Char const'
  645.     'Preprocessor')
  646.   MarkedBlockStyle = 'Marked block'
  647.   DefaultStyleName = 'Default'
  648.   Extentions = 'f for f90 f95 f2k'
  649.   LexerName = 'Fortran'
  650. end
  651.