A PHP representation of a Mode in the JS library.
- internal
- since 9.16.0.0Language definition set via language definition JSON files
- property bool $case_insensitive = false
- property string [] $aliases = array()
- property string | null $className = null
- property string | null $begin = null
-
property
Highlight
\RegEx | null $beginRe = null - property string | null $end = null
-
property
Highlight
\RegEx | null $endRe = null - property string | null $beginKeywords = null
- property bool $endsWithParent = false
- property bool $endsParent = false
- property bool $endSameAsBegin = false
- property string | null $lexemes = null
-
property
Highlight
\RegEx | null $lexemesRe = null -
property
array
| int>> $keywords = array() - property string | null $illegal = null
-
property
Highlight
\RegEx | null $illegalRe = null - property bool $excludeBegin = false
- property bool $excludeEnd = false
- property bool $returnBegin = false
- property bool $returnEnd = false
-
property
Highlight
\Mode [] $contains = array() -
property
Highlight
\Mode | null $starts = null -
property
Highlight
\Mode [] $variants = array() - property int | null $relevance = null
- property string | string []| null $subLanguage = null
- property bool $skip = false
-
property
bool
$disableAutodetect
= false
Properties set at runtime by the language compilation process -
property
array
-
property
Highlight
\Terminators | null $terminators = null - property string $terminator_end = ""
- property bool $compiled = false
-
property
Highlight
\Mode | null $parent = null - property string $type = ''
- see https://highlightjs.readthedocs.io/en/latest/reference.html
Abstract
Methods |
public
static
_normalize
(
$obj
) Fill in the missing properties that this Mode does not have.
|
Methods |
public
static
_normalize
(
$obj
) Fill in the missing properties that this Mode does not have.
|