/home/techb158/dev.balacoffee.com/vendor/sabberworm/php-css-parser/src/Value
NameSizeModeActions
CalcFunction.php34080644editdlrm
CalcRuleValueList.php4410644editdlrm
Color.php57840644editdlrm
CSSFunction.php15900644editdlrm
CSSString.php27270644editdlrm
LineName.php18010644editdlrm
PrimitiveValue.php2280644editdlrm
RuleValueList.php2910644editdlrm
Size.php53760644editdlrm
URL.php18050644editdlrm
Value.php72010644editdlrm
ValueList.php23980644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/sabberworm/php-css-parser/src/Value/LineName.php (1801B)
$aComponents * @param int $iLineNo */ public function __construct(array $aComponents = [], $iLineNo = 0) { parent::__construct($aComponents, ' ', $iLineNo); } /** * @return LineName * * @throws UnexpectedTokenException * @throws UnexpectedEOFException */ public static function parse(ParserState $oParserState) { $oParserState->consume('['); $oParserState->consumeWhiteSpace(); $aNames = []; do { if ($oParserState->getSettings()->bLenientParsing) { try { $aNames[] = $oParserState->parseIdentifier(); } catch (UnexpectedTokenException $e) { if (!$oParserState->comes(']')) { throw $e; } } } else { $aNames[] = $oParserState->parseIdentifier(); } $oParserState->consumeWhiteSpace(); } while (!$oParserState->comes(']')); $oParserState->consume(']'); return new LineName($aNames, $oParserState->currentLine()); } /** * @return string */ public function __toString() { return $this->render(new OutputFormat()); } /** * @return string */ public function render(OutputFormat $oOutputFormat) { return '[' . parent::render(OutputFormat::createCompact()) . ']'; } }