Documentation

SelectorCharLinter
in package
implements CharLinter

Table of Contents

Interfaces

CharLinter

Properties

$lintConfiguration  : LintConfiguration

Methods

__construct()  : mixed
lintChar()  : bool|null
Performs lint for a given char, check selector part
getSelectorNameAtRuleIfexist()  : string|null
lintNestedSelectorChar()  : bool|null
Performs lint for a given char, check nested selector part
lintSelectorContentChar()  : bool|null
Performs lint for a given char, check selector content part
lintSelectorContentStart()  : bool|null
lintSelectorName()  : void
lintSelectorNameChar()  : bool|null
Performs lint for a given char, check selector part
lintSelectorNameContent()  : bool
lintSelectorNameStart()  : bool|null

Properties

Methods

lintChar()

Performs lint for a given char, check selector part

public lintChar(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

: true if the process should continue, else false, null if this char is not about selector

getSelectorNameAtRuleIfexist()

protected getSelectorNameAtRuleIfexist(string $selector) : string|null
Parameters
$selector : string
Return values
string|null

lintNestedSelectorChar()

Performs lint for a given char, check nested selector part

protected lintNestedSelectorChar(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

: true if the process should continue, else false, null if this char is not a nested selector

lintSelectorContentChar()

Performs lint for a given char, check selector content part

protected lintSelectorContentChar(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

: true if the process should continue, else false, null if this char is not a selector content

lintSelectorContentStart()

protected lintSelectorContentStart(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

lintSelectorNameChar()

Performs lint for a given char, check selector part

protected lintSelectorNameChar(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

: true if the process should continue, else false, null if this char is not about selector

lintSelectorNameContent()

protected lintSelectorNameContent(string $charValue, LintContext $lintContext) : bool
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool

lintSelectorNameStart()

protected lintSelectorNameStart(string $charValue, LintContext $lintContext) : bool|null
Parameters
$charValue : string
$lintContext : LintContext
Return values
bool|null

        
On this page

Search results