src/php/CTXParser/Tokenizer.php
public function getTokenName($type)
    {
        if (!isset($this->tokenNames[$type])) {
            throw new \RuntimeException(
                "Unknown token $type."
            );
        }

        return $this->tokenNames[$type];
    }
public function getTokenName($type)
    {
        if (!isset($this->tokenNames[$type])) {
            throw new \RuntimeException(
                "Unknown token $type."
            );
        }

        return $this->tokenNames[$type];
    }
public function getTokenName ( $ type ) { if ( ! isset ( $ this -> tokenNames [ $ type ] ) ) { throw new \ RuntimeException ( "Unknown token $type." ) ; } return $ this -> tokenNames [ $ type ] ; }
Get token name

@param int $type
@return string
Get token name