class CompassList in Sassy 7
Compass extension List object. @package PHamlP @subpackage Sass.extensions.compass.functions
Hierarchy
- class \SassLiteral
- class \CompassList
Expanded class hierarchy of CompassList
3 string references to 'CompassList'
- SassExtentionsCompassFunctionsColourStops::grad_colour_stops in phamlp/
sass/ extensions/ compass/ functions/ colourStops.php - SassExtentionsCompassFunctionsColourStops::grad_end_position in phamlp/
sass/ extensions/ compass/ functions/ colourStops.php - SassExtentionsCompassFunctionsColourStops::grad_position in phamlp/
sass/ extensions/ compass/ functions/ colourStops.php
File
- phamlp/
sass/ extensions/ compass/ functions/ colourStops.php, line 17
View source
class CompassList extends SassLiteral {
public function __construct($values) {
$this->value = $values;
}
public function getValues() {
return $this->value;
}
/**
* Returns the type of this
* @return string the type of this
*/
protected function getTypeOf() {
return 'list';
}
public function toString() {
$values = array();
foreach ($this->value as $value) {
$values[] = $value
->toString();
}
return join(', ', $values);
}
public static function isa($subject) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CompassList:: |
protected | function |
* Returns the type of this
* Overrides SassLiteral:: |
|
CompassList:: |
public | function | ||
CompassList:: |
public static | function |
* Returns a value indicating if a token of this type can be matched at
* the start of the subject string.
* Overrides SassLiteral:: |
|
CompassList:: |
public | function |
* Returns a string representation of the value.
* Overrides SassLiteral:: |
|
CompassList:: |
public | function |
* class constructor
* Overrides SassLiteral:: |
|
SassLiteral:: |
private static | property | * | |
SassLiteral:: |
protected | property | * | |
SassLiteral:: |
public | function | * Adds a child object to this. * | |
SassLiteral:: |
public static | function | * Asserts that the value of a literal is within the expected range * | |
SassLiteral:: |
public static | function | * Asserts that the literal is the expected type * | |
SassLiteral:: |
protected | function | * Returns the value of this * | 4 |
SassLiteral:: |
public | function | * The SassScript and operation. * | |
SassLiteral:: |
public | function | ||
SassLiteral:: |
public | function | * Bitwise AND the value of other and this value * | 1 |
SassLiteral:: |
public | function | * Bitwise NOT the value of other and the value of this * | |
SassLiteral:: |
public | function | * Bitwise OR the value of other and this value * | 1 |
SassLiteral:: |
public | function | * Bitwise XOR the value of other and the value of this * | 1 |
SassLiteral:: |
public | function | * SassScript ',' operation. * | |
SassLiteral:: |
public | function | * The SassScript default operation (e.g. $a $b, "foo" "bar"). * | |
SassLiteral:: |
public | function | * SassScript '/' operation. * | 2 |
SassLiteral:: |
public | function | * The SassScript == operation. * | 1 |
SassLiteral:: |
public | function | * The SassScript > operation. * | 1 |
SassLiteral:: |
public | function | * The SassScript >= operation. * | 1 |
SassLiteral:: |
public | function | * The SassScript < operation. * | 1 |
SassLiteral:: |
public | function | * The SassScript <= operation. * | 1 |
SassLiteral:: |
public | function | * SassScript '-' operation. * | 2 |
SassLiteral:: |
public | function | * SassScript '%' operation. * | 2 |
SassLiteral:: |
public | function | * The SassScript != operation. * | |
SassLiteral:: |
public | function | * The SassScript not operation. * | 1 |
SassLiteral:: |
public | function | * The SassScript or operation. * | |
SassLiteral:: |
public | function | * SassScript '+' operation. * | 3 |
SassLiteral:: |
public | function | * Shifts the value of this left by the number of bits given in value * | 1 |
SassLiteral:: |
public | function | * Shifts the value of this right by the number of bits given in value * | 1 |
SassLiteral:: |
public | function | * SassScript '*' operation. * | 3 |
SassLiteral:: |
public | function | * The SassScript xor operation. * | |
SassLiteral:: |
public | function | * Returns the boolean representation of the value of this * | |
SassLiteral:: |
public | function | * Getter. * | |
SassLiteral:: |
public | function |