2 $BEAUT_PATH = realpath(
".") .
"/Services/COPage/syntax_highlight/php";
6 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
24 $this->colours =
array(
"blue",
"gray",
"gray",
"purple",
"brown",
"blue",
"purple");
25 $this->quotecolour =
"blue";
26 $this->blockcommentcolour =
"green";
27 $this->linecommentcolour =
"green";
31 $this->indent =
array(
"begin");
32 $this->unindent =
array(
"end");
36 $this->stringchars =
array();
37 $this->delimiters =
array(
"~",
"!",
"%",
"^",
"&",
"*",
"(",
")",
"-",
"+",
"=",
"|",
"\\",
"/",
"{",
"}",
"[",
"]",
":",
";",
"\"",
"'",
"<",
">",
" ",
",",
" ",
".",
"?");
42 $this->linecommenton =
array(
"--");
43 $this->blockcommenton =
array(
"/*");
44 $this->blockcommentoff =
array(
"*/");
48 $this->keywords =
array(
55 "arith_overflow" =>
"1",
59 "authorization" =>
"1",
68 "char_convert" =>
"1",
123 "identity_insert" =>
"1",
124 "identity_start" =>
"1",
140 "max_rows_per_page" =>
"1",
147 "nonclustered" =>
"1",
150 "numeric_transaction" =>
"1",
175 "processexit" =>
"1",
181 "reconfigure" =>
"1",
203 "syb_identity" =>
"1",
204 "syb_restree" =>
"1",
211 "transaction" =>
"1",
217 "unpartition" =>
"1",
221 "user_option" =>
"1",
245 "char_length" =>
"7",
247 "character_length" =>
"2",
253 "constraints" =>
"2",
254 "corresponding" =>
"2",
256 "current_date" =>
"2",
257 "current_time" =>
"2",
258 "current_timestamp" =>
"2",
259 "current_user" =>
"2",
268 "diagnostics" =>
"2",
288 "insensitive" =>
"2",
310 "octet_length" =>
"2",
326 "session_user" =>
"2",
335 "system_user" =>
"2",
339 "timezone_hour" =>
"2",
340 "timezone_minute" =>
"2",
343 "translation" =>
"2",
394 "referencing" =>
"3",
405 "sqlexception" =>
"3",
416 "sp_activeroles" =>
"4",
417 "sp_addalias" =>
"4",
418 "sp_addauditrecord" =>
"4",
419 "sp_addaudittable" =>
"4",
420 "sp_addextendedproc" =>
"4",
421 "sp_addexternlogin" =>
"4",
422 "sp_addgroup" =>
"4",
423 "sp_addlanguage" =>
"4",
424 "sp_addlogin" =>
"4",
425 "sp_addmessage" =>
"4",
426 "sp_addobjectdef" =>
"4",
427 "sp_addremotelogin" =>
"4",
428 "sp_add_resource_limit" =>
"4",
429 "sp_addsegment" =>
"4",
430 "sp_addserver" =>
"4",
431 "sp_addthreshold" =>
"4",
432 "sp_add_time_range" =>
"4",
434 "sp_addumpdevice" =>
"4",
436 "sp_altermessage" =>
"4",
437 "sp_autoconnect" =>
"4",
438 "sp_bindcache" =>
"4",
439 "sp_bindefault" =>
"4",
441 "sp_bindrule" =>
"4",
442 "sp_cacheconfig" =>
"4",
443 "sp_cachestrategy" =>
"4",
444 "sp_changedbowner" =>
"4",
445 "sp_changegroup" =>
"4",
446 "sp_checknames" =>
"4",
447 "sp_checkreswords" =>
"4",
448 "sp_checksource" =>
"4",
449 "sp_chgattribute" =>
"4",
450 "sp_clearstats" =>
"4",
451 "sp_commonkey" =>
"4",
452 "sp_countmetadata" =>
"4",
453 "sp_cursorinfo" =>
"4",
454 "sp_column_privileges" =>
"4",
456 "sp_configure" =>
"4",
457 "sp_databases" =>
"4",
458 "sp_datatype_info" =>
"4",
459 "sp_dbcc_alterws" =>
"4",
460 "sp_dbcc_configreport" =>
"4",
461 "sp_dbcc_createws" =>
"4",
462 "sp_dbcc_deletedb" =>
"4",
463 "sp_dbcc_deletehistory" =>
"4",
464 "sp_dbcc_differentialreport" =>
"4",
465 "sp_dbcc_evaluatedb" =>
"4",
466 "sp_dbcc_faultreport" =>
"4",
467 "sp_dbcc_fullreport" =>
"4",
468 "sp_dbcc_runcheck" =>
"4",
469 "sp_dbcc_statisticsreport" =>
"4",
470 "sp_dbcc_summaryreport" =>
"4",
471 "sp_dbcc_updateconfig" =>
"4",
472 "sp_dboption" =>
"4",
473 "sp_defaultloc" =>
"4",
475 "sp_diskdefault" =>
"4",
476 "sp_displayaudit" =>
"4",
477 "sp_displaylevel" =>
"4",
478 "sp_displaylogin" =>
"4",
479 "sp_displayroles" =>
"4",
480 "sp_dropalias" =>
"4",
481 "sp_dropdevice" =>
"4",
482 "sp_dropexeclass" =>
"4",
483 "sp_dropextendedproc" =>
"4",
484 "sp_dropexternlogin" =>
"4",
485 "sp_dropglockpromote" =>
"4",
486 "sp_dropgroup" =>
"4",
488 "sp_droplanguage" =>
"4",
489 "sp_droplogin" =>
"4",
490 "sp_dropmessage" =>
"4",
491 "sp_dropobjectdef" =>
"4",
492 "sp_dropremotelogin" =>
"4",
493 "sp_drop_resource_limit" =>
"4",
494 "sp_dropsegment" =>
"4",
495 "sp_dropserver" =>
"4",
496 "sp_dropthreshold" =>
"4",
497 "sp_drop_time_range" =>
"4",
498 "sp_droptype" =>
"4",
499 "sp_dropuser" =>
"4",
500 "sp_estspace" =>
"4",
501 "sp_extendsegment" =>
"4",
502 "sp_familylock" =>
"4",
503 "sp_forceonline_db" =>
"4",
504 "sp_forceonline_page" =>
"4",
505 "sp_foreignkey" =>
"4",
507 "sp_getmessage" =>
"4",
508 "sp_grantlogin" =>
"4",
510 "sp_helpartition" =>
"4",
511 "sp_helpcache" =>
"4",
512 "sp_helpconfig" =>
"4",
513 "sp_helpconstraint" =>
"4",
515 "sp_helpdevice" =>
"4",
516 "sp_helpextendedproc" =>
"4",
517 "sp_helpexternlogin" =>
"4",
518 "sp_helpgroup" =>
"4",
519 "sp_helpindex" =>
"4",
520 "sp_helpjoins" =>
"4",
522 "sp_helplanguage" =>
"4",
524 "sp_helpobjectdef" =>
"4",
525 "sp_helpremotelogin" =>
"4",
526 "sp_help_resource_limit" =>
"4",
527 "sp_helprotect" =>
"4",
528 "sp_helpsegment" =>
"4",
529 "sp_helpserver" =>
"4",
530 "sp_helpsort" =>
"4",
531 "sp_helptext" =>
"4",
532 "sp_helpthreshold" =>
"4",
533 "sp_helpuser" =>
"4",
534 "sp_hidetext" =>
"4",
535 "sp_indsuspect" =>
"4",
536 "sp_listsuspect_db" =>
"4",
537 "sp_listsuspect_page" =>
"4",
539 "sp_locklogin" =>
"4",
540 "sp_logdevice" =>
"4",
541 "sp_loginconfig" =>
"4",
542 "sp_logininfo" =>
"4",
543 "sp_logiosize" =>
"4",
544 "sp_modifylogin" =>
"4",
545 "sp_modify_resource_limit" =>
"4",
546 "sp_modify_time_range" =>
"4",
547 "sp_modifythreshold" =>
"4",
549 "sp_monitorconfig" =>
"4",
550 "sp_passthru" =>
"4",
551 "sp_password" =>
"4",
552 "sp_placeobject" =>
"4",
553 "sp_plan_dbccdb" =>
"4",
554 "sp_primarykey" =>
"4",
555 "sp_processmail" =>
"4",
556 "sp_procqmode" =>
"4",
557 "sp_procxmode" =>
"4",
558 "sp_recompile" =>
"4",
559 "sp_remoteoption" =>
"4",
560 "sp_remotesql" =>
"4",
562 "sp_renamedb" =>
"4",
563 "sp_reportstats" =>
"4",
564 "sp_revokelogin" =>
"4",
566 "sp_serveroption" =>
"4",
567 "sp_setlangalias" =>
"4",
568 "sp_setpglockpromote" =>
"4",
569 "sp_setsuspect_granularity" =>
"4",
570 "sp_setsuspect_threshold" =>
"4",
571 "sp_spaceused" =>
"4",
574 "sp_unbindcache" =>
"4",
575 "sp_unbindcache_all" =>
"4",
576 "sp_unbindefault" =>
"4",
577 "sp_unbindmsg" =>
"4",
578 "sp_unbindrule" =>
"4",
579 "sp_volchanged" =>
"4",
582 "sp_server_info" =>
"4",
583 "sp_special_columns" =>
"4",
584 "sp_sproc_columns" =>
"4",
585 "sp_statistics" =>
"4",
586 "sp_stored_procedures" =>
"4",
587 "sp_table_privileges" =>
"4",
589 "xp_cmdshell" =>
"4",
590 "xp_deletemail" =>
"4",
591 "xp_enumgroups" =>
"4",
592 "xp_findnextmsg" =>
"4",
593 "xp_logevent" =>
"4",
594 "xp_readmail" =>
"4",
595 "xp_sendmail" =>
"4",
596 "xp_startmail" =>
"4",
597 "xp_stopmail" =>
"4",
602 "sysalternates" =>
"5",
603 "sysattributes" =>
"5",
604 "syscharsets" =>
"5",
606 "syscomments" =>
"5",
607 "sysconfigures" =>
"5",
608 "sysconstraints" =>
"5",
609 "syscurconfigs" =>
"5",
610 "sysdatabases" =>
"5",
617 "syslanguages" =>
"5",
618 "syslisteners" =>
"5",
620 "sysloginroles" =>
"5",
623 "syslogshold" =>
"5",
624 "sysmessages" =>
"5",
625 "sysmonitors" =>
"5",
627 "syspartitions" =>
"5",
628 "sysprocedures" =>
"5",
629 "sysprocesses" =>
"5",
630 "sysprotects" =>
"5",
631 "sysreferences" =>
"5",
632 "sysremotelogins" =>
"5",
633 "sysresourcelimits" =>
"5",
635 "syssecmechs" =>
"5",
636 "syssegments" =>
"5",
638 "syssrvroles" =>
"5",
639 "sysstatistics" =>
"5",
640 "systabstats" =>
"5",
642 "systhresholds" =>
"5",
643 "systimeranges" =>
"5",
646 "sysusermessages" =>
"5",
648 "sybsystemprocs" =>
"5",
650 "@@connections" =>
"6",
657 "@@isolation" =>
"6",
660 "@@ncharsize" =>
"6",
661 "@@nestlevel" =>
"6",
669 "@@servername" =>
"6",
670 "@@sqlstatus" =>
"6",
671 "@@textcolid" =>
"6",
673 "@@textobjid" =>
"6",
680 "@@tranchained" =>
"6",
694 "curunreservedpgs" =>
"7",
712 "is_sec_service_on" =>
"7",
717 "mut_excl_roles" =>
"7",
719 "object_name" =>
"7",
724 "ptn_data_pgs" =>
"7",
728 "reserved_pgs" =>
"7",
730 "role_contain" =>
"7",
737 "show_sec_services" =>
"7",
753 "valid_user" =>
"7");
762 $this->linkscripts =
array(
Create styles array
The data for the language used.