See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
(no description)
File Size: | 516 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ParserState:: (24 methods):
__construct()
setCharset()
getCharset()
currentLine()
currentColumn()
getSettings()
parseIdentifier()
parseCharacter()
consumeWhiteSpace()
comes()
peek()
consume()
consumeExpression()
consumeComment()
isEnd()
consumeUntil()
inputLeft()
streql()
backtrack()
strlen()
substr()
strtolower()
strsplit()
strpos()
Class: ParserState - X-Ref
__construct($sText, Settings $oParserSettings, $iLineNo = 1) X-Ref |
param: string $sText param: int $iLineNo |
setCharset($sCharset) X-Ref |
param: string $sCharset return: void |
getCharset() X-Ref |
return: string |
currentLine() X-Ref |
return: int |
currentColumn() X-Ref |
return: int |
getSettings() X-Ref |
return: Settings |
parseIdentifier($bIgnoreCase = true) X-Ref |
param: bool $bIgnoreCase return: string |
parseCharacter($bIsForIdentifier) X-Ref |
param: bool $bIsForIdentifier return: string|null |
consumeWhiteSpace() X-Ref |
return: array<int, Comment>|void |
comes($sString, $bCaseInsensitive = false) X-Ref |
param: string $sString param: bool $bCaseInsensitive return: bool |
peek($iLength = 1, $iOffset = 0) X-Ref |
param: int $iLength param: int $iOffset return: string |
consume($mValue = 1) X-Ref |
param: int $mValue return: string |
consumeExpression($mExpression, $iMaxLength = null) X-Ref |
param: string $mExpression param: int|null $iMaxLength return: string |
consumeComment() X-Ref |
return: Comment|false |
isEnd() X-Ref |
return: bool |
consumeUntil($aEnd, $bIncludeEnd = false, $consumeEnd = false, array &$comments = []) X-Ref |
param: array<array-key, string>|string $aEnd param: string $bIncludeEnd param: string $consumeEnd param: array<int, Comment> $comments return: string |
inputLeft() X-Ref |
return: string |
streql($sString1, $sString2, $bCaseInsensitive = true) X-Ref |
param: string $sString1 param: string $sString2 param: bool $bCaseInsensitive return: bool |
backtrack($iAmount) X-Ref |
param: int $iAmount return: void |
strlen($sString) X-Ref |
param: string $sString return: int |
substr($iStart, $iLength) X-Ref |
param: int $iStart param: int $iLength return: string |
strtolower($sString) X-Ref |
param: string $sString return: string |
strsplit($sString) X-Ref |
param: string $sString return: array<int, string> |
strpos($sString, $sNeedle, $iOffset) X-Ref |
param: string $sString param: string $sNeedle param: int $iOffset return: int|false |