Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 4 | 4 | 0.962 | class_member_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 731 | plugins/content/geshi/geshi.php |
2 | 21 | 764 | plugins/content/geshi/geshi.php |
3 | 17 | 830 | plugins/content/geshi/geshi.php |
4 | 17 | 859 | plugins/content/geshi/geshi.php |
| ||||
/** * Sets the styles for escaped characters. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the escape characters * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ function set_escape_characters_style($style, $preserve_defaults= FALSE) { if (!$preserve_defaults) { $this->language_data['STYLES']['ESCAPE_CHAR'][0]= $style; } else { $this->language_data['STYLES']['ESCAPE_CHAR'][0].= $style; } } /** * Turns highlighting on/off for escaped characters * * @param boolean Whether to turn highlighting for escape characters on or off * @since 1.0.0 */ function set_escape_characters_highlighting($flag= TRUE) { $this->lexic_permissions['ESCAPE_CHAR']= ($flag) ? TRUE : FALSE; } |
| ||||
/** * Sets the styles for brackets. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * This method is DEPRECATED: use set_symbols_style instead. * This method will be removed in 1.2.X * * @param string The style to make the brackets * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 * @deprecated In favour of set_symbols_style */ function set_brackets_style($style, $preserve_defaults= FALSE) { if (!$preserve_defaults) { $this->language_data['STYLES']['BRACKETS'][0]= $style; } else { $this->language_data['STYLES']['BRACKETS'][0].= $style; } } /** * Turns highlighting on/off for brackets * * This method is DEPRECATED: use set_symbols_highlighting instead. * This method will be remove in 1.2.X * * @param boolean Whether to turn highlighting for brackets on or off * @since 1.0.0 * @deprecated In favour of set_symbols_highlighting */ function set_brackets_highlighting($flag) { $this->lexic_permissions['BRACKETS']= ($flag) ? TRUE : FALSE; } |
| ||||
/** * Sets the styles for strings. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the escape characters * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ function set_strings_style($style, $preserve_defaults= FALSE) { if (!$preserve_defaults) { $this->language_data['STYLES']['STRINGS'][0]= $style; } else { $this->language_data['STYLES']['STRINGS'][0].= $style; } } /** * Turns highlighting on/off for strings * * @param boolean Whether to turn highlighting for strings on or off * @since 1.0.0 */ function set_strings_highlighting($flag) { $this->lexic_permissions['STRINGS']= ($flag) ? TRUE : FALSE; } |
| ||||
/** * Sets the styles for numbers. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the numbers * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ function set_numbers_style($style, $preserve_defaults= FALSE) { if (!$preserve_defaults) { $this->language_data['STYLES']['NUMBERS'][0]= $style; } else { $this->language_data['STYLES']['NUMBERS'][0].= $style; } } /** * Turns highlighting on/off for numbers * * @param boolean Whether to turn highlighting for numbers on or off * @since 1.0.0 */ function set_numbers_highlighting($flag) { $this->lexic_permissions['NUMBERS']= ($flag) ? TRUE : FALSE; } |
| |||
/** * Sets the styles for escaped characters. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the escape characters * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ /** * Sets the styles for brackets. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * This method is DEPRECATED: use set_symbols_style instead. * This method will be removed in 1.2.X * * @param string The style to make the brackets * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 * @deprecated In favour of set_symbols_style */ /** * Sets the styles for strings. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the escape characters * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ /** * Sets the styles for numbers. If $preserve_defaults is * true, then styles are merged with the default styles, with the * user defined styles having priority * * @param string The style to make the numbers * @param boolean Whether to merge the new styles with the old or just * to overwrite them * @since 1.0.0 */ function [[#variable5782ca60]]($style,$preserve_defaults=FALSE) { if (!$preserve_defaults) { $this->language_data['STYLES'][ [[#variable5782cb40]]][0]=$style; } else { $this->language_data['STYLES'][ [[#variable5782cb40]]][0].=$style; } } /** * Turns highlighting on/off for escaped characters * * @param boolean Whether to turn highlighting for escape characters on or off * @since 1.0.0 */ /** * Turns highlighting on/off for brackets * * This method is DEPRECATED: use set_symbols_highlighting instead. * This method will be remove in 1.2.X * * @param boolean Whether to turn highlighting for brackets on or off * @since 1.0.0 * @deprecated In favour of set_symbols_highlighting */ /** * Turns highlighting on/off for strings * * @param boolean Whether to turn highlighting for strings on or off * @since 1.0.0 */ /** * Turns highlighting on/off for numbers * * @param boolean Whether to turn highlighting for numbers on or off * @since 1.0.0 */ function [[#variable5782ca40]]( [[#variable5782ca80]]) { $this->lexic_permissions[ [[#variable5782cb40]]]=($flag) ? TRUE : FALSE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5782ca60]] | set_escape_characters_style |
1 | 2 | [[#5782ca60]] | set_brackets_style |
1 | 3 | [[#5782ca60]] | set_strings_style |
1 | 4 | [[#5782ca60]] | set_numbers_style |
2 | 1 | [[#5782cb40]] | 'ESCAPE_CHAR' |
2 | 2 | [[#5782cb40]] | 'BRACKETS' |
2 | 3 | [[#5782cb40]] | 'STRINGS' |
2 | 4 | [[#5782cb40]] | 'NUMBERS' |
3 | 1 | [[#5782ca40]] | set_escape_characters_highlighting |
3 | 2 | [[#5782ca40]] | set_brackets_highlighting |
3 | 3 | [[#5782ca40]] | set_strings_highlighting |
3 | 4 | [[#5782ca40]] | set_numbers_highlighting |
4 | 1 | [[#5782ca80]] | $flag=TRUE |
4 | 2 | [[#5782ca80]] | $flag |
4 | 3 | [[#5782ca80]] | $flag |
4 | 4 | [[#5782ca80]] | $flag |