-
$_aliasName
-
The name of the context if not aliased
-
$_characterLen
-
The parsed data when getContextStartData() is successful.
-
$_charsToEscape
-
...and the valid escape sequences that can follow.
-
$_childContexts
-
The child contexts
-
$_complexFlag
-
Whether this context should be broken up by whitespace
-
$_contextDelimiters
-
The context delimiters
-
$_contextName
-
The context name.
-
$_contextStyleType
-
The style type of this context, used for backward compatibility with GeSHi 1.0.X
-
$_delimiterParseData
-
Delimiter parse data. Controls which context - the parent or child - should parse the delimiters for a context
-
$_disallowEmpty
-
-
$_endDelimiterLen
-
-
$_endName
-
The name for stuff detected in the end of a context
-
$_escapeCharacters
-
Characters that start an escape sequence...
-
$_escapeGroups
-
Escape character groups.
-
$_isAlias
-
Whether this context is an alias context
-
$_isChildLanguage
-
Whether this context is a child context
-
$_isEscapeSeq
-
-
$_languageName
-
The language that this context is in
-
$_startName
-
The name for stuff detected in the start of a context
-
$_startRegexTable
-
The matching regex table for regex starters
-
$_styler
-
The styler helper object
-
_addParseData
-
Overrides addParseData to add escape characters also.
-
_addParseData
-
Overrides _addParseData to add escape characters also
-
_addParseData
-
-
_addParseData
-
Adds parse data to the overall result
-
_addParseDataEnd
-
Adds parse data for the end of a context to the overallresult
-
_addParseDataStart
-
Adds parse data for the start of a context to the overallresult
-
_addToParsedCode
-
Adds data from the renderer to the parsed code
-
_charEscapesChar
-
Returns true if $escape_char escapes $char_to_escape.
-
_checkForSymbol
-
Checks the specified character to see if it is a symbol, and adds it to the result array according to its findings.
-
_codeContextHighlight
-
Given code, returns an array of context data about it
-
_createContextKeywordLookup
-
-
_getContextEndData
-
In this case we don't need to worry about much because we have made sure in _getContextStartData that we are starting in the right place.
-
_getContextEndData
-
GetContextEndData
-
_getContextEndData
-
Finds the end of a string context, taking the escape characters into account.
-
_getEarliestContextData
-
Works out the closest child context
-
_getExtraParseData
-
-
_getURL
-
Turns keywords into <a href="url">>keyword/a> if needed
-
_initPostProcess
-
-
_initPostProcess
-
Called after the init function has had its fun to
-
_isEscapeChar
-
Returns true if $escape_char is an escape character in any group.
-
_makeContextName
-
-
_shouldBeEscaped
-
Checks whether the character(s) at the start of the parameter string are characters that should be escaped.
-
_substitutePlaceholders
-
Substitutes placeholders for values matched in opening regular expressions
-
$_parentName
-
-
$_prevContextName
-
-
$_prevData
-
-
$_prevToken
-
-
_addParseData
-
Adds code detected as being in this context to the parse data
-
GeSHi
-
Sets the source and language name of the source to parse
-
GeSHi
-
The GeSHi class
-
GeSHiCodeContext
-
This class represents a "Code" context - one where keywords, regular expressions and other things can be used to highlight part of the context.
-
GeSHiCodeParser
-
The GeSHiCodeParser class. An abstract implementation of a class that can receive tokens, modify them and send them back.
-
GeSHiCodeParser
-
Constructor. Assigns the GeSHiStyler object to use
-
GeSHiContext
-
Creates a new GeSHiContext.
-
GeSHiContext
-
The GeSHiContext class
-
GeSHiDefaultCodeParser
-
The GeSHiDefaultCodeParser class. Implements GeSHiCodeParser to provide for the default method of code parsing - do nothing
-
GeSHiSingleCharContext
-
The GeSHiSingleCharContext class. This class extends GeSHiContext to handle "single character" strings - strings that are only one character long, like in java.
-
GeSHiStringContext
-
The GeSHiStringContext class. This class extends GeSHiContext to handle the concept of escape characters that strings often use.
-
GeSHiStyler
-
The GeSHiStyler class
-
GESHI_ALLOW_SYMLINK_PATHS
-
Whether to allow paths to contain symlinks
-
geshi_anchor_re
-
Safely inserts an anchor into the regex $regex so that it only matches at the start of the searched string.
-
GESHI_DIR_SEP
-
Set the correct directory separator
-
GESHI_ERROR_NONE
-
No error has occured
-
GESHI_ROOT
-
The root directory for GeSHi (where class.geshi.php is located)
-
GESHI_STYLE_COMMENTS
-
Used to mark a context as being like a comment in 1.0.X
-
GESHI_STYLE_METHODS
-
Used to mark a context as being like a method in 1.0.X
-
GESHI_STYLE_NONE
-
Used to mark a context as having no equivalence in 1.0.X
-
GESHI_STYLE_NUMBERS
-
Used to mark a context as being like a number in 1.0.X
-
GESHI_STYLE_STRINGS
-
Used to mark a context as being like a string in 1.0.X
-
GESHI_STYLE_SYMBOLS
-
Used to mark a context as being like a symbol in 1.0.X
-
GESHI_VERSION
-
GeSHi Version
-
GESHI_WHICHSS_CASEINSENSITIVE
-
-
GESHI_WHICHSS_MAXIMAL
-
Which, if any, of the strings in the array $substrs occurs at offset $offset in the string $str? If $flags contains GESHI_WHICHSS_MAXIMAL, then the largest of multiple matches will be returned, otherwise and by default: the first encountered.
-
GESHI_WHICHSS_SKIPANCHORINSERT
-
-
GESHI_WHICHSS_TRYREGEX
-
-
geshi_whichsubstr
-
-
getContextStartData
-
GetContextStartData
-
getContextStartData
-
Checks the context delimiters for this context against the passed
-
getEndName
-
Returns the name given to the part of this context that is matched by the ending context delimiter. Typically this is used by aliased contexts to lie about what they really end with.
-
getHumanLanguageName
-
Given a language name, return a human version of it
-
getHumanThemeName
-
Given a theme name, return a human version of it
-
getParsedCode
-
-
getStartName
-
Returns the name given to the part of this context that is matched by the starting context delimiter. Typically this is used by aliased contexts to lie about what they really start with.
-
getStyle
-
-
getSupportedLanguages
-
-
getSupportedThemes
-
Returns every theme supported by this installation of GeSHi
-
getTime
-
Returns various timings related to this object.
-
getVersion
-
Returns the version of this GeSHi
-
genericCheck
-
Checks for generic types to highlight in the source
-
GeSHiCCodeParser
-
The GeSHiCCodeParser class
-
GeSHiDelphiCodeParser
-
The GeSHiDelphiCodeParser class
-
GeSHiJavaCodeParser
-
The Java code parser.
-
GeSHiPHPCodeParser
-
The GeSHiPHPCodeParser class.
-
GeSHiPHPDoubleStringContext
-
-
GeSHiPHPDoubleStringContext
-
The GeSHiPHPDoubleStringContext class represents a PHP double string
-
GeSHiSQLCodeParser
-
GeSHi - Generic Syntax Highlighter
-
GESHI_C_NORMAL
-
Parsing states; should be powers of two due to the implications of the comment below.
-
GESHI_C_PP
-
Defines for 2, 4, 512, 1024 and 2048 are skipped intentionally so that
-
GESHI_C_PPERROR
-
-
GESHI_C_PPHDRPROV
-
-
GESHI_C_PPHDRSTART
-
-
GESHI_C_PPIMPLHDRSTART
-
-
GESHI_C_PPINCLUDE
-
-
GESHI_C_PPINCLUDEMACRO
-
-
GESHI_C_PPINCLUDEMACROSTART
-
-
GESHI_C_PPLINE
-
-
GESHI_C_PPNONSTD
-
-
GESHI_C_PPPRAGMA
-
-
GESHI_C_PPSTART
-
-
geshi_sql_sql
-
-
geshi_sql_sql_bitstring
-
-
geshi_sql_sql_hexstring
-
-
geshi_sql_sql_multi_comment
-
-
geshi_sql_sql_quoted_identifier
-
-
geshi_sql_sql_single_comment
-
-
geshi_sql_sql_string
-
-
GeSHiRenderer
-
The GeSHiRenderer class
-
GeSHiRenderer
-
Constructor.
-
GeSHiRendererHTML
-
The GeSHiRendererHTML class
-
getFooter
-
Returns the footer for the code. Currently just a boring preset.
-
getFooter
-
Should return any footer data for the renderer
-
getHeader
-
Returns the header for the code. Currently just a boring preset.
-
getHeader
-
Should return any header data for the renderer
-
setCharactersDisallowedAfterKeywords
-
-
setCharactersDisallowedBeforeKeywords
-
-
setCharactersToEscape
-
Specifies all escape sequences that are valid following any of the escape characters. Each escape sequence may be greater than one character in length and may be specified by a REGEX-string - look-behind assertions on such regexes are not supported.
-
setCodeParser
-
Sets the code parser that will be used. This is used by language files in the geshi/languages directory to set their code parser
-
setComplexFlag
-
-
setDisallowEmptyChars
-
Call this to specify whether to disallow empty characters - e.g. in C, '' is invalid. By default empty characters are allowed. The default parameter value of this function is true so e.g. in C's case this can be called simply as $context->setDisallowEmptyChars().
-
setEscapeCharacters
-
Specifies each "character" that should be interpreted as the start of an
-
setLanguage
-
Sets the language to use for highlighting
-
setRawStyle
-
Sets styles with explicit control over style name
-
setSource
-
Sets the source code to highlight
-
setStyle
-
Sets the style of a specific context. Language name is prefixed,
-
setStyles
-
Sets styles of contexts in the source code
-
setTheme
-
Sets the theme to use
-
set_language
-
Sets the language to use for highlighting. This method is deprecated, and will be removed in the next major version of GeSHi.
-
set_source
-
Sets the source code to highlight. This method is deprecated, and will be removed in 1.4/2.0.
-
shouldParseEnder
-
-
shouldParseStarter
-
-
sourcePreProcess
-
Is given the entire source code before parsing begins so that various information about the source can be stored.
-
sql.php
-
-
sourcePreProcess
-
Finds locations of "\\\n" and removes them from the source.
-
staticClassCheck
-
Checks for the use of static classes such as Foo in: Foo.x, Foo.y()
-
sql.php
-