7 calls to Scanner::getToken()
- Scanner::consume in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Checks if the given string is matched, if so it consumes the token
- Scanner::consumeOneOf in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Checks if one of the given strings is matched, if so it consumes the token
- Scanner::getNextToken in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Returns the next token
- Scanner::getState in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Returns the current scanner state
- Scanner::isBefore in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Checks if one of the given strings follows the current scan position
- Scanner::noLineTerminators in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Checks that there are not line terminators following the current scan position before next token
- Scanner::reconsumeCurrentTokenAsRegexp in vendor/
mck89/ peast/ lib/ Peast/ Syntax/ Scanner.php - Tries to reconsume the current token as a regexp if possible