@vivliostyle/core
Preparing search index...
css-parser
Parser
Class Parser
Index
Constructors
constructor
Properties
actions
base
URL
default
Namespace
URI
error
Brackets
expr
Context
handler
import
Condition
import
Ready
import
URL
in
Style
Declaration
namespace
Prefix
To
URI
page
Rule
prop
Important
prop
Name
region
Rule
result
rule
Stack
tokenizer
val
Stack
Methods
expr
Error
expr
Stack
Reduce
extract
Vals
is
Inside
Property
Only
Rule
make
Condition
read
Pseudo
Params
read
Supports
Test
run
Parser
val
Stack
Reduce
Constructors
constructor
new
Parser
(
actions
:
Action
[]
,
tokenizer
:
Tokenizer
,
handler
:
ParserHandler
,
baseURL
:
string
,
)
:
Parser
Parameters
actions
:
Action
[]
tokenizer
:
Tokenizer
handler
:
ParserHandler
baseURL
:
string
Returns
Parser
Properties
actions
actions
:
Action
[]
base
URL
baseURL
:
string
default
Namespace
URI
defaultNamespaceURI
:
string
= null
error
Brackets
errorBrackets
:
number
[]
= []
expr
Context
exprContext
:
ExprContext
Readonly
handler
handler
:
ParserHandler
import
Condition
importCondition
:
Expr
= null
import
Ready
importReady
:
boolean
= false
import
URL
importURL
:
string
= null
in
Style
Declaration
inStyleDeclaration
:
boolean
= false
namespace
Prefix
To
URI
namespacePrefixToURI
:
{
[
key
:
string
]:
string
}
= {}
page
Rule
pageRule
:
boolean
= false
prop
Important
propImportant
:
boolean
= false
prop
Name
propName
:
string
= null
region
Rule
regionRule
:
boolean
= false
result
result
:
Val
= null
rule
Stack
ruleStack
:
string
[]
= []
tokenizer
tokenizer
:
Tokenizer
val
Stack
valStack
:
any
[]
= []
Methods
expr
Error
exprError
(
mnemonics
:
string
,
token
:
Token
)
:
void
Parameters
mnemonics
:
string
token
:
Token
Returns
void
expr
Stack
Reduce
exprStackReduce
(
op
:
number
,
token
:
Token
)
:
boolean
Parameters
op
:
number
token
:
Token
Returns
boolean
extract
Vals
extractVals
(
sep
:
string
,
index
:
number
)
:
Val
[]
Parameters
sep
:
string
index
:
number
Returns
Val
[]
is
Inside
Property
Only
Rule
isInsidePropertyOnlyRule
()
:
boolean
Returns
boolean
make
Condition
makeCondition
(
classes
:
string
,
condition
:
Val
)
:
Expr
Parameters
classes
:
string
condition
:
Val
Returns
Expr
read
Pseudo
Params
readPseudoParams
()
:
(
string
|
number
)
[]
Returns (
string
|
number
)
[]
read
Supports
Test
readSupportsTest
(
token
:
Token
)
:
SupportsTest
Parameters
token
:
Token
Returns
SupportsTest
run
Parser
runParser
(
count
:
number
,
parsingValue
:
boolean
,
parsingStyleAttr
:
boolean
,
parsingMediaQuery
:
boolean
,
parsingFunctionParam
:
boolean
,
parsingRelationalSelector
?:
boolean
,
)
:
boolean
Parameters
count
:
number
parsingValue
:
boolean
parsingStyleAttr
:
boolean
parsingMediaQuery
:
boolean
parsingFunctionParam
:
boolean
Optional
parsingRelationalSelector
:
boolean
Returns
boolean
val
Stack
Reduce
valStackReduce
(
sep
:
string
,
token
:
Token
)
:
Val
Parameters
sep
:
string
token
:
Token
Returns
Val
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
actions
base
URL
default
Namespace
URI
error
Brackets
expr
Context
handler
import
Condition
import
Ready
import
URL
in
Style
Declaration
namespace
Prefix
To
URI
page
Rule
prop
Important
prop
Name
region
Rule
result
rule
Stack
tokenizer
val
Stack
Methods
expr
Error
expr
Stack
Reduce
extract
Vals
is
Inside
Property
Only
Rule
make
Condition
read
Pseudo
Params
read
Supports
Test
run
Parser
val
Stack
Reduce
@vivliostyle/core
Loading...