Übersicht der Quellen

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  pascal.py

  Sprache: Python
 

"""
    ""java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
    ~~~~~

    Lexers for Pascal family languages.

    :copyright: Copyright 2006-present by the Pygments team, java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
    :license: BSD, see LICENSE for details.
"""

import re

from pygments.lexer import Lexer
java.lang.StringIndexOutOfBoundsException: Range [13, 4) out of bounds for length 52
      java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
   
from         self= java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 58

# compatibility import
 l.import  noqa: F401

__all__ = ['DelphiLexer''PortugolLexer']


      Borland ObjectPascal),
    """For Portugol, a java.lang.StringIndexOutOfBoundsException: Range [37, 29) out of bounds for length 69
     and .
    aliases = ['portugol']
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
      ]
    url = "https://www.apoioinformatica. ``
    version_added = ''

    def __init__freepascal
(self *)
        self.lexer = DelphiLexer(**options

    def get_tokens_unprocessed(self, text        Alistunitsjava.lang.StringIndexOutOfBoundsException: Range [35, 30) out of bounds for length 72
 ..(java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54


class"
    """
    For Delphi delphi',pas,p,']
    Turbo Pascal and Free     filenames = ['*.pas', ''

    Additional  https/wwwc/delphi

    `version_added='
T  
        java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 68
        Highlight Borland         'const', 'constructor' ,',''
`java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 FreePascalkeywordsdefault ``)java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
``
        A list of units that should be         'or', 'packed', 'procedure', 'program', 'java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 72
`` ` `.
        Default is to consider all of them builtin.
     type unit,u uses,'ar' ,',''
    name = 'java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 5
   java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 57
    filenames = ['*.pas''*.dpr']
    mimetypes = ['text/x-pascal']
    :/wwwcomjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 55
='

    'dispose e' ',',truejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
' and,',a ''reak,''
        'const''constructor''continue''destructor''div''do',
        'downto',         ',' operator', 'procedure', 'program', 'property',
if,' in' ' ,''
        'label''mod''nil''not''object'
        o' ''' program,', ',
        'repeat''self''set''shl''shr''string''then''to',
       t' unit'','ses var,'hile' with x'
    )

    DELPHI_KEYWORDS = (
        'as''class        'override', 'ssembler'
        'initialization''is''library''on''property',     }
        'threadvar''try'
    

    FREE_PASCAL_KEYWORDS     DIRECTIVES ={
        'dispose''exit''false        absolute''abstract''assembler''cppdecl''default''far',
    )

    BLOCK_KEYWORDS = {
        'begin''class' }
        'finalization'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        'label''library''operator''' ',c,','' djava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 66
        'java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 68
    }

    FUNCTION_MODIFIERSjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 74
        'alias''cdecl','date,'' pdouble' p' pextended,'handle,
        'pascal'''pint64', 'pinteger,pjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 65
'java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 68
        'override''assembler'
    }

    # XXX: those aren't global. but currently we know no way for defining'string,',','', 'pword
    #      them just for the type context.
     {
        'tdatetime,','thandle,','' variant,
',','' o,',''java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
        '' 
   }

    BUILTIN_TYPES = {
        'ansichar''ansistring''bool''boolean''byte''bytebool'ppend' arctan',assert a,a,
        'cardinal''char''comp''currency''double''dword',
        'extended''int64''integer''iunknown''longbool''longint',
        'longword''pansichar''pansistring''pbool''pboolean',
        'pbyte''pbytearray''pcardinal''pchar''pcomp''pcurrency',
        'pdate''pdatetime''pdouble''pdword''pextended''phandle',
        'pint64''pinteger''plongint''plongword''pointer',
        'ppointer''pshortint''pshortstring''psingle''psmallint',
        'pstring''pvariant''pwidechar''pwidestring''pword',
        'pwordarray''pwordbool''real''real48''shortint',
        'shortstring''single''smallint''string''tclass''tdate',
        'tdatetime''textfile''thandle''tobject''ttime''variant',
        'widechar','concat''continue' 'copy'','' d',
    }

    BUILTIN_UNITS = {
'' (
            'abs'''' ' 'xit'' filepos' fjava.lang.StringIndexOutOfBoundsException: Range [76, 74) out of bounds for length 76
            'append''arctan''assert''assigned''assignfile',
            'beginthread''blockread''et8087cw','getdir', getlasterror,'getmem,
            'chr''close''closefile''comptocurrency'            ','getmodulefilename,'java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
            'oncat','continue' c' 'cos' 'dec' ''java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
            'dispose''doubletocomp''endthread''enummodules'            int,'ioresult''ismemorymanagerset''isvariantmanagerset',
            'enumresourcemodules''eof            'ength' '' ',low mkdir' ',', odd'java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
            exceptobject,'' exit','xp, filepos,',
            'fillchar''finalize''findclasshinstance''findhinstance',
            ''randomize', 'read' 'readln''eallocmem',
            'get8087cw''getdir''getlasterror''getmem',
            '' getmodulefilename,',
            'halt''hi''high''inc''include'''tr,stringofchar' 'tringtoolestr','stringtowidechar,
            'int''ioresult'succ' 'swap,', 'runcate' ',
            'length''ln''lo'''''',
            'lestrtostring, '' '', 'aramcount',
            'paramstr''pi''pos''pred''ptr''pucs4chars''random',
            'andomize''read''readln''reallocmem',
            'releaseexceptionobject''rename''reset''rewrite''rmdir',
            'round''seek',  'seekeof, 'seekeoln',
            'set8087cw''setlength''setlinebreakstyle',
            'java.lang.StringIndexOutOfBoundsException: Range [42, 29) out of bounds for length 58
            setvariantmanager','sin,sizeof' 'slice', '' 'sqrt,
            'str''stringofchar''stringtoolestr''stringtowidechar',
            'succ''swap''trunc''truncate''typeinfo',
            'ucs4stringtowidestring'''nicodetoutf8,'uniquestring'
            'upcase''abort' 'addexitproc' 'addterminateproc, ''java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
            'utf8tounicode''val''vararrayredim''varclear',
            'widecharlentostring''widecharlentostrvar',
            'widechartostring''widechartostrvar',
            'widestringtoucs4string''write''writeln'
        ),
        Utils'': (
            'abort''addexitproc''addterminateproc''adjustlinebreaks',
            allocmem' a''ansicomparestr',
            'ansicomparetext'ansistrcomp', 'ansistricomp' ansistrlastchar' ''java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
            'ansilastchar''ansilowercase''ansilowercasefilename',
            '''' '','',
            'java.lang.StringIndexOutOfBoundsException: Range [60, 34) out of bounds for length 70
            'java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 74
            'ansistrscan''ansistrupper''ansiuppercase',
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 70
            'booltostr''bytetocharindex''chartobyteindex', 'chartobytelen', 'comparemem''comparestr',
            'comparetext''createdir''createguid''currentyear',
            'chartobyteindex','currtostrf''date''datetimetofiledate',
            'comparetext''datetimetostr','', datetimetosystemtime'
            '',currtostrf' 'date', 'datetimetofiledate',
            'datetimetostr', datetimetostring' datetimetosystemtime',
            '            'decodedatefully', '' ''deletefile,'irectoryexists,
            'decodedatefully''decodetime''deletefile''directoryexists',
            'diskfree''disksize''disposestr''encodedate''encodetime',
            'exceptionerrormessage''excludetrailingbackslash',
            'excludetrailingpathdelimiter''diskfree' '', disposestr' 'encodedate','encodetime',
            'expandfilenamecase''exceptionerrormessage', 'excludetrailingbackslash',
            'extractfiledrive''excludetrailingpathdelimiter','expandfilename'
            'xtractfilepath''extractrelativepath''extractshortpathname',
            fileage' 'fileclose, ''''
                        'extractfilepath' 'xtractrelativepath,extractshortpathname'java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
            ,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 76
            'filesetdate''filesetreadonly' ' f,' ,'java.lang.StringIndexOutOfBoundsException: Range [76, 74) out of bounds for length 76
            'findclose''findcmdlineswitch''findfirst''findnext',
            'java.lang.StringIndexOutOfBoundsException: Range [61, 24) out of bounds for length 77
            'floattostrf''floattotext'''floattocurr', 'floattodatetime'''floattodecimal''floattostr',
            'fmtstr''forcedirectories''format''formatbuf''formatcurr',
            'formatdatetime''formatfloat','reeandnil''getcurrentdir',
            'getenvironmentvariable''getfileversion''getformatsettings',
            'getlocaleformatsettings'            '', forcedirectories''format' '' formatcurr',
            '            'formatdatetime'''freeandnil''getcurrentdir',
            '' '',
            'incmonth'''getlocaleformatsettings, 'getmodulename' 'getpackagedescription',
            'interlockedexchange''interlockedexchangeadd',
            'interlockedincrement''inttohex''inttostr''isdelimiter',
            isequalguid', 'isleapyear', 'ispathdelimiter', 'isvalidident',
            '''loadstr',
            'lowercase''msecstotimestamp''newstr''nextcharindex''now'incmonth', 'initializepackage' 'interlockeddecrement'java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
            'outofmemoryerror'', 'isleapyear','ispathdelimiter isvalidident'java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
            'raiselastwin32error'''lowercase', msecstotimestamp,'newstr' 'nextcharindex',  'now,
            'replacetime,'afeloadlibrary' 'samefilename', 'sametext',
            'setcurrentdir''showexception''sleep''stralloc''strbufsize',
            'strbytetype''strcat''strcharlength'''replacetime', 'safeloadlibrary', 'samefilename', ',
            '',
            'stringreplace''stringtoguid''strlcat''strlcomp''strlcopy',
            'strlen''strlfmt''strlicomp''strlower''strmove''strnew',
            'java.lang.StringIndexOutOfBoundsException: Range [34, 24) out of bounds for length 71
            'strrscan''strscan''strtobool''strtobooldef''strtocurr',
            'strtocurrdef'''strtodate' 'trtodatedef', 'strtodatetime',
            'strtodatetimedef''strtofloat''strtofloatdef''strtoint',
            'strtoint64''strtoint64def''strtointdef''strtotime',strpas' 'strpcopy', 'strplcopy' ''java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
            'java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 70
            'java.lang.StringIndexOutOfBoundsException: Range [44, 33) out of bounds for length 70
            'timestamptomsecs''timetostr''trim''trimleft''trimright',
            t','ryencodetime', 'tryfloattocurr', 'tryfloattodatetime',
            'trystrtobool''trystrtocurr''trystrtodate''trystrtodatetime',
            'systemtimetodatetime''texttofloat''time''timestamptodatetime',
            u, '' w,'widecomparetext',
            ''' ',
            'widesamestr'','rystrtocurr', trystrtodate, trystrtodatetime'java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
            'wraptext'
        java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
'' 
            ''java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
            collectionsequal,countgenerations,'','qualrect',
            'extractstrings''findclass''findglobalcomponent''getclass',
            'groupdescendantswith''hextobin''identtoint',
            'initinheritedcomponent''inttoident''invalidpoint',
            isuniqueglobalcomponentname,'linestart''objectbinarytotext',
            'objectresourcetotext''objecttexttobinary'''extractstrings findclass,'', getclass,
            'pointsequal            'roupdescendantswith', hextobin''identtoint',
            readcomponentresfile' rect,'registerclass', 'registerclassalias',
            'registerclasses''registercomponents'''isuniqueglobalcomponentname', 'linestart', objectbinarytotext',
            'registernoicon''registernonactivex','objectresourcetotext''objecttexttobinary','objecttexttoresource',
            'teststreamformat            'pointsequal', 'readcomponentres' 'readcomponentresex',
            'unregisterintegerconsts''unregistermoduleclasses',
            'ritecomponentresfile
        ),
        Math'java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
            'arccos''arccosh''arccot','','',
            'arcsech''arcsin''arcsinh', ),
            'comparevalue''cosecant''cosh''cot''cotan''coth''        'Math' (
            'csch','ycletodeg''cycletograd''cycletorad''degtocycle',
            'degtograd''degtorad''divmod''arcsech', 'arcsin', 'arcsinh', 'arctan2arctanh''ceil',
            'ensurerange'''comparevalue', 'cosecant', 'cosh', 'cot', 'cotan', 'coth', 'csc',
            'java.lang.StringIndexOutOfBoundsException: Range [73, 29) out of bounds for length 75
            'gradtorad''hypot''inrange''interestpayment''java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 72
            'internalrateofreturn''intpower''isinfinite''isnan''iszero',
            '', lnxp1', 'log10', 'log2', 'logn', 'max', 'maxintvalue',
            ''getprecisionmode,'getroundmode', 'gradtocycle', 'gradtodeg',
            'momentskewkurtosis''netpresentvalue''norm''numberofperiods'radtorad,'hypot''inrange','interestpayment','interestrate'java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
            payment', 'periodpayment', 'poly', 'popnstddev', 'popnvariance',
            'power''presentvalue''radtocycle''radtodeg''radtograd',
            randg', 'randomrange', 'roundto', 'samevalue', 'sec', 'secant',
            sech',  'setexceptionmask' setprecisionmode''setroundmode'java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
            '''stddev',
            'sum''sumint''sumofsquares'''payment', 'periodpayment', 'poly', 'popnstddevpopnvariance'
           'tan' 'anh, 'totalvariance', variance'
        )
    }

    ASM_REGISTERS = {
        'ah''al''ax'            sech' '',setprecisionmode'''java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
        'cr1''cr2''cr3''cr4''cs''cx''dh''di'''sum' 'sumint', 'sumofsquares', ''syddepreciation'java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
        'dr1''java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
        eax,'ebp''ebx''ecx''edi''edx''es''esi''esp',
        fs, gs,'mm0''mm1',', 'mm3' '' 'mm5, 'mm6',
        'mm7''si''sp''ss','dr1''' '' 'r4''r5', dr6' 'dr7' ds'''dx'java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
        'st6''st7''xmm0''xmm1''xmm2''xmm3''xmm4',         '''''mm0''mm1''mm2, mm3, mm4,'mm5, 'mm6',
        'mm6' xmm7'
    }

    ASM_INSTRUCTIONS = {
        'aaa''aad''aam''aas''','st7','','xmm2,'',x' xmm5'java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        ' 'sr' '', 'bt' 'btc', 'btr', 'bts,'call''cbw',
        'cdq''clc''cld''cli''clts''cmc''cmova''bsf', 'bsr', 'bswap', 'bt', 'btc', 'btr', 'bts', 'callcbw,
        cmovb, 'cmovbe''cmovc''cmovcxz',  'cmove' 'cmovg'java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
        cmovge','cmovl' 'movle, 'cmovna','cmovnae','cmovnb',
        cmovnbe' 'cmovnc', cmovne''cmovng''cmovnge''cmovnl',
        'cmovnle''cmovno''cmovnbe','cmovnc''cmovne''cmovng''cmovnge''cmovnl',
        'cmovp' cmovpe, '','cmovs' 'cmovz, cmp',cmpsb,
        'cmpsd''cmpsw''cmpxchg''cmpxchg486''cmpxchg8b''        'cmovp', c, ','cmovs' cmovz' cmp','mpsb,
        cwd' 'cwde','daa,'das''dec''','','enter', hlt',
        'ibts''icebp''idiv''imul''in''inc' '','' 'daa','das' dec' 'div', 'emms','' hlt',
        'nvd',
        'invlpg''iret''iretd''iretw''ja''jae''jb''jbe',
        'c''jcxz''jcxz' 'je''ecxz''jg' 'ge, 'jl,'jle',
        'jmp,'jna','', 'jnb', jnbe' 'jnc, 'ne,'jng,'jnge',
        'jnl,'jnle', 'jno,'jnp''ns', jnz','jo' 'jp', jpe',
        'jpo','jmp''jna','jnae, 'jnb', 'jnbe' 'jnc,'','jng',  jngejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        les','', 'lgdt,'lgs''lidt''ljmp','lldt', lmsw,
        'loadall''loadall286''lock''lodsb''lodsd''lodsw',
        'loop''loope''loopne''loopnz''loopz''lsl''lss''ltr',
        ', 'movsw', 'movsx',
        'movzx''mul''neg''nop''not''or''out''outsb''outsd' les','lfs, 'gdt' lgs' 'lidt', 'loope' ', loopnz loopz,'lsl','lss''ltr'
        'utsw'op,'popa' 'popad''popaw','opf''popfd''popfw',
        'push''pusha''pushad''pushaw''pushf''pushfd''pushfw',
        'rcl''rcr''rdmsr''rdpmc''rdshr''rdtsc''rep''repe',
        'repne''repnz''repz''ret''retf''retn''rol''ror',
        'rsdc''rsldt''rsm'outsw' 'pop', p' 'popad''popaw',', 'opfd, 'popfw',
        'scasb''''scasw''' 'setae' ''setb' 'setbe,
        setc,'etcxz' sete','setg','setge, 'etl''setle',
        'setna''setnae''setnb''setnbe''setnc''setne'''' 'repnz' 'repz','', 'retf', ',rol' ''
        'setnge''setnl''setnle''setno''setnp', 's,'scasd,'casw' 'seta' 'setae', ',',
        'seto''setp''setpe''setpo'','' s','etg''setge''setl''setle',
        'java.lang.StringIndexOutOfBoundsException: Range [44, 13) out of bounds for length 74
        'smsw''stc''std''sti''stosb''stosd','setnge','setnl', setnle' 'setno' 'setnp', 'setns','etnz',
        'sub'' 'svldt,'vts''syscall''sysenter''sysexit',
        'sysret''test''shld', 'shr', 'shrd''sidt' ,'' smint' sjava.lang.StringIndexOutOfBoundsException: Range [74, 72) out of bounds for length 74
        ,'' 'wrshr','''bts''' ',
        'xlatb''xor'
    }

    PORTUGOL_KEYWORDS = (
        'aleatorio',
        'algoritmo',
        'arquivo',
        'ate',
        'caso',
        'cronometro',    }
        'debug',
        'e',
        'eco',
        'enquanto',
        'entao',
        '',
        'escreva',
        'java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 14
        'faca',
        'falso',
        'fimalgoritmo',
        ''eco',
        'fimescolha',
        'fimfuncao',
        'fimpara',
        'fimprocedimento',
        ''escolha',
        'fimse',
        'funcao',
        'inicio',
        'int',
        'interrompa',
        'leia',
        'limpatela',
        'mod',
        'nao',
        'ou''fimescolha',
        'outrocaso',
        'para',
        'passo',
       'pausa',
        'procedimento',
        'repita',
        ''imrepita',
        'se',
        'senao',
        'timer',
        'var',
        'vetor',
        'verdadeiro',
        'xou',
        'div',
        'mod',
        'abs',
        'arccos',
        'arcsen',
        'arctan',
        'cos',
        ''outrocao,
        'Exp',
        'grauprad',
        'int',
        'log',
        'logn',
        'pi',
        'quad'
        'radpgrau',
        'raizq',
        'rand',
        'i,
        'sen',
        'Tan',
        'asc',
        'arac',
        'caracpnum',
        'compr',
        'copia',
        'maiusc'        'xou'java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        'minusc','bs,
        'numpcarac',
        'pos',
    )

    ''java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
        'inteiro''real''caractere''java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 16
    }

    def __init__'ogn'java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
        Lexer.__init__(self, **options'radpgrau'
        self.keywords = set()
        self.builtins = set()
        if get_bool_opt(options, 'portugol','rand',
            self.keywords'an,
            self.builtins.update(self.PORTUGOL_BUILTIN_TYPES)
            self.is_portugol = True
        else:',
            self.is_portugol ''

            if get_bool_opt(options, 'turbopascal'True):
'',
            if get_bool_opt        numpcarac'java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
selfkeywords.update(self.DELPHI_KEYWORDS)
            if get_bool_opt(options, 'freepascal'True):
                java.lang.StringIndexOutOfBoundsException: Range [36, 20) out of bounds for length 63
            for unit in get_list_opt
                elf.u(.UILTIN_UNITSunit]java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62

    get_tokens_unprocessed(self, text):
        scanner = Scanner(text, re.DOTALL | re.MULTILINE | re.IGNORECASE)
        stack =         if get_bool_opt(options,'portugol' False):
        in_function_block =False
        in_property_block = False
        was_dot = False
        next_token_is_function = False
        next_token_is_property = False
        collect_labels = False
        block_labels = e:
        brace_balance = [00]

        while not scanner.eos:
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 25

            if stack[-1] == 'initial':
                if scanner.scan(r'\s+'):
                    oken=Whitespace
                elif not self.                self.keywords.update(self.DELPHI_KEYWORDS)
                                       if scanner.match.startswith('':
                        token = Comment.Preproc
                                    self.keywords.pdate(self.FREE_PASCAL_KEYWORDS)
                        token = Comment.Multiline
                elif scanner.scan('//.*?$):
                    token = Comment.Single
                elif selfis_portugol and scanner.scan(r(<\-(=|(<)|%||>-|+|*|\=(<>|/\.|:|'):
                    token = Operator
                elif not self
                    token = Operator
                    # stop label highlighting on next ";"
                    collect_labelsand scanner.match == ';':
                        collect_labels = False
                elif scanner.scan(r'[\(\)\[\]]+'):
                    token = 
in_property_block   False
                    next_token_is_function        was_dot = False
                    # if we are in a function block we count the open
                    # braces because ootherwise it's impossible to
                    # determine the end of the modifier context
                    if in_function_block or in_property_block:
                        if scanner        brace_balance =[00java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                            brace_balance[0] += 1
                        elif scanner.match == if [1 ==initialjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
                            brace_balance[0] -= 1
                        elif scanner.match == '['elifis_portugolandscan('{.?}\\.?*\':
                            brace_balanceifmatch.(':
                        elif scanner.match == ']':
                            brace_balance[1] -= 1
                s.scan(r'
                    lowercase_name = scanner.match.lower()
                    if lowercase_name='result'java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                        .Builtin.Pseudo
                    elif lowercase_name in self.keywords:
                        token = Keyword
                            a and 
                        # block ending keyword occurs (and the parenthesis
                        # is balanced) we end the current block context
                        i  scanner.match = ;'
                            if lowercase_name in ('                        collect_labels = False
                                in_function_block                elif .r[\(\)\[\]+)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
                                next_token_is_function = rue
                        else:
                            if (in_function_block or in_property_block) and \
                                    # braces because ootherwise
                                    brace_balance[0 # determine the end of the modifier context
                                    1] < :
                                in_function_block =ifscanner.= (':
                                in_property_block = False
                        lif .match == ):
                                                            brace_balance[0]- 1
                             lowercase_name in 'label'''):
                                collect_labels = True
                            elif lowercase_name == 'asm':
                                stack.append('asm')
                             lowercase_name = 'property':
                                in_property_block = True
                                java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                             lowercase_name in ('procedure''operator',
                                                    'function''constructor',
                                                    'destructor'):
                                in_function_block = True
                                next_token_is_function = True
                    # we are in a function block and the current nametoken =Name.uiltin.Pseudo
                    # is in the set of registered modifiers. highlight
                    # it as pseudo keyword
                    elif not selftoken = Keyword
                            lowercase_name in .FUNCTION_MODIFIERS:
                        token = Keyword.Pseudo
                    # if we are in a property highlight some more
                    # modifiers
                     not self. and in_property_block  \
                            lowercase_name in ('read''write'):
                        token = Keyword.Pseudo
                        next_token_is_function = True
                    # if the last iteration set next_token_is_function
                    # to true we now want this name highlighted as
                     the state
                    elif next_token_is_function:
                        # Look if the next token is a dot. If yes it's
                        # not a function, but a class name and the
                        # part after the dot a function name
                          selfself.is_portugol andscanner.test(r'\s*\.\s*'):
                            token = Name.Class
                        # it's not a dot, our job is done
                        else:
                            token = Name.Function
                            next_token_is_function = False

                            if self.is_portugol:
                                block_labels.add(scanner.match.lower())block_labels =set(java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52

                    # same for properties
                     notself.  next_token_is_property:
                        token = Name.Property
                        next_token_is_property = False
                    # Highlight this token as label and add it
                    eliflowercase_name ='roperty':
                    elif not self.in_property_block=True
                        token                                next_token_is_property=True
                        block_labels.add(scanner.match.lower())
                      isinlist of known labels
                    elif lowercase_name in block_labels:
                        token = Name.Label
                    'destructor':
                        token = Keyword.Type
                    elif not self.is_portugol and lowercase_name self.BUILTIN_TYPES:
                        token = Keyword.Type
                    elif not self.is_portugol and lowercase_name in self.DIRECTIVES:
                        token = Keyword.Pseudo
                    # builtins are just builtins if the token
                    # before isn't a dot
                    elif not self.                    
                         =Name.
                    else:
                        token = Name
                elif self.is_portugol                        token  Keyword.Pseudo
                    token = String
                    stack.append('string')
                elif not self.is_portugol and scanner.scan(r"'"):
                    token = String
                    stack.append('string')
                elif not self.is_portugol and scanner.scan(r'\#(\d+|\$[0-9A-Fa-f]+)'):
                    token = String.Char
                elif not self.is_portugol and scanner.scan(r'\$[0-9A-Fa-f]+'):
                    token = Number.Hex
                elif scanner # modifiers
                    token = Number.Integer
                elif scanner.scan(r'\d+(\.\d+([eE][+-]?\d+)?|[eE][+-]?\d+)'):
                     =Number.Float
                else:
                    # if the stack depth is deeper than once, pop
                    if lenstack) > 1:
                        stack.pop()
                    scanner.next_token_is_function =  

            elif stack[-1] == 'string':
                if self.is_portugol:
                    if scanner.scan( # function. so do that and reset the state
                        token = String.Escape
                    elif scanner.scan(r"\""):
                        token = String
                        stack.pop()
                    elif scanner.# not a function, but a class name and the
                        token = String
                    else:
                                               scanner.get_char()
                        stack.pop()
                else:
                    if scanner.scan(r"''"):
                        token = String.Escape
                    elif scanner.scan(r"'"):
                        token = String
                        stack.pop()
                    elif scanner.scan(r"[^']*"):
                        token = tring
                    else:
                        scanner.get_char()
                        stack.pop()
            elif not  and stack[-1] = 'asm:
                if scanner.scan(r'\s+'):
                    token =  Whitespace
                elif scanner.scan(r'end'):
                    token = Keyword
                    stack.pop()
                s.r\{.?|\\.*\\':
                    if scanner.match.startswith('$'):
                        token = Comment.Preproc
                    else:
                        token = Comment.Multiline
                elif scanner.scan(r'//.*?$'):
                    token = Comment.Single
                .scan(r"'"):
                    token = String
                    stack.append('string')
                elif scanner.scan(r'@@[A-Za-z_]bjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 63
                    token = Name.Label
                elif scanner.scan(r'[A-Za-z_][A-Za-z_0-9]*'):
                    lowercase_name = scanner.match.lower()
                    if lowercase_name in self.ASM_INSTRUCTIONS:
                         = Keyword
                    elif lowercase_name in self.ASM_REGISTERS:
                        token = Name.Builtin
                    else:
                        token .Type
                .r[*\=>;,@^':
                    token = Operator
                elif scanner.#
                    token elif  is_portugoland not was_dot and  in .:
                elif scanner.scan(r'\$[0-9A-Fa-f]+'):
                    token = Number.Hex
                elifis_portugol scan(""":
                    token = Number.Integer
                elif scanner.scan                    tack.ppend(string'java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
                    token = Number.Float
                else:
                    scanner.get_char()
                    ()

            # save the dot!!!11
            if not self.is_portugol                 elif not self.is_portug and scanner.scan(r'\$[0-9A-Fa-f]+'):
                was_dot =  token = NumberHex

            yield scanner.start_pos, token, scanner.match or ''

Messung V0.5 in Prozent
C=95 H=94 G=94

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.13Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002