PHP Class Youshido\GraphQL\Parser\Token

Mostra file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
__construct ( $type, $line, $column, $data = null )
getColumn ( ) : integer
getData ( ) : mixed
getLine ( ) : integer
getType ( ) : string
tokenName ( $tokenType )

Method Details

__construct() public method

public __construct ( $type, $line, $column, $data = null )

getColumn() public method

public getColumn ( ) : integer
return integer

getData() public method

public getData ( ) : mixed
return mixed

getLine() public method

public getLine ( ) : integer
return integer

getType() public method

public getType ( ) : string
return string

tokenName() public static method

public static tokenName ( $tokenType )