This lexer will let us to extract the relevant tokens from a compound CSS property
package |
Docxpresso |
---|---|
subpackage |
Parser |
__construct()
access |
public |
---|---|
extractSingleProperty(string $prop, string $CSS) : string
access |
public |
---|---|
static |
string
the property we wish to extract
string
the chain of CSS properties
string
tokenizeBackgroundProp(string $value) : array
access |
public |
---|
string
the property that we want to parse
array
with keys: 'color', 'position','repeat', image
tokenizeBorderProp(string $value) : array
access |
public |
---|
string
the property that we want to parse
array
with keys: width, style and color
tokenizeFontProp(string $value) : array
access |
public |
---|
string
the property that we want to parse
array
with keys: 'color', 'position','repeat', image
tokenizeListProp(string $value) : array
access |
public |
---|
string
the property that we want to parse
array
with keys: 'color', 'position','repeat', image
tokenizeUnits(string $dimension) : array
access |
public |
---|---|
static |
string
the chain with the CSS units
array
backgroundClipOrigin : array
access |
public |
---|---|
static | |
var |
array
backgroundPosition : array
access |
public |
---|---|
static | |
var |
array
backgroundRepeat : array
access |
public |
---|---|
static | |
var |
array
borderStyles : array
access |
public |
---|---|
static | |
var |
array
listStyles : array
access |
public |
---|---|
static | |
var |
array