PHP Class QuackCompiler\Types\Type

Exibir arquivo Open project: quack/quack Class Usage Examples

Public Properties

Property Type Description
$code
$props
$subtype

Public Methods

Method Description
__construct ( $code ) For objects access
__toString ( )
getBaseType ( $types )
getDeepestSubtype ( )
hasSubtype ( )
importFrom ( Type $type )
isAtom ( )
isBlock ( )
isBoolean ( )
isDouble ( )
isExactlySameAs ( Type $other )
isInteger ( )
isLazy ( )
isList ( )
isMap ( )
isNumber ( )
isRegex ( )
isString ( )

Method Details

__construct() public method

For objects access
public __construct ( $code )

__toString() public method

public __toString ( )

getBaseType() public static method

public static getBaseType ( $types )

getDeepestSubtype() public method

public getDeepestSubtype ( )

hasSubtype() public method

public hasSubtype ( )

importFrom() public method

public importFrom ( Type $type )
$type Type

isAtom() public method

public isAtom ( )

isBlock() public method

public isBlock ( )

isBoolean() public method

public isBoolean ( )

isDouble() public method

public isDouble ( )

isExactlySameAs() public method

public isExactlySameAs ( Type $other )
$other Type

isInteger() public method

public isInteger ( )

isLazy() public method

public isLazy ( )

isList() public method

public isList ( )

isMap() public method

public isMap ( )

isNumber() public method

public isNumber ( )

isRegex() public method

public isRegex ( )

isString() public method

public isString ( )

Property Details

$code public_oe property

public $code

$props public_oe property

public $props

$subtype public_oe property

public $subtype