PHP Class Flow\Token

Show file Open project: nramenta/flow

Protected Properties

Property Type Description
$char
$line
$type
$value

Public Methods

Method Description
__construct ( $type, $value, $line, $char )
__toString ( )
getChar ( )
getLine ( )
getType ( $asString = false, $canonical = false )
getTypeAsString ( $type, $canonical = false )
getTypeError ( $type )
getValue ( )
test ( $type, $values = null )

Method Details

__construct() public method

public __construct ( $type, $value, $line, $char )

__toString() public method

public __toString ( )

getChar() public method

public getChar ( )

getLine() public method

public getLine ( )

getType() public method

public getType ( $asString = false, $canonical = false )

getTypeAsString() public static method

public static getTypeAsString ( $type, $canonical = false )

getTypeError() public static method

public static getTypeError ( $type )

getValue() public method

public getValue ( )

test() public method

public test ( $type, $values = null )

Property Details

$char protected property

protected $char

$line protected property

protected $line

$type protected property

protected $type

$value protected property

protected $value