/home/techb158/dev.balacoffee.com/vendor/psy/psysh/src/Command
NameSizeModeActions
ListCommand/-0755rm
TimeitCommand/-0755rm
BufferCommand.php24850644editdlrm
ClearCommand.php11280644editdlrm
CodeArgumentParser.php15060644editdlrm
Command.php72770644editdlrm
DocCommand.php92490644editdlrm
DumpCommand.php26160644editdlrm
EditCommand.php58590644editdlrm
ExitCommand.php11530644editdlrm
HelpCommand.php28420644editdlrm
HistoryCommand.php76890644editdlrm
ListCommand.php98670644editdlrm
ParseCommand.php41270644editdlrm
PsyVersionCommand.php9530644editdlrm
ReflectingCommand.php112300644editdlrm
ShowCommand.php98730644editdlrm
SudoCommand.php31270644editdlrm
ThrowUpCommand.php37440644editdlrm
TimeitCommand.php50550644editdlrm
TraceCommand.php26960644editdlrm
WhereamiCommand.php43660644editdlrm
WtfCommand.php38520644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/psy/psysh/src/Command/CodeArgumentParser.php (1506B)
parser = $parser ?? (new ParserFactory())->createParser(); } /** * Lex and parse a string of code into statements. * * This is intended for code arguments, so the code string *should not* start with parser->parse($code); } catch (\PhpParser\Error $e) { if (\strpos($e->getMessage(), 'unexpected EOF') === false) { throw ParseErrorException::fromParseError($e); } // If we got an unexpected EOF, let's try it again with a semicolon. try { return $this->parser->parse($code.';'); } catch (\PhpParser\Error $_e) { // Throw the original error, not the semicolon one. throw ParseErrorException::fromParseError($e); } } } }