PHP Class QuackCompiler\Types\Type

Afficher le fichier Open project: quack/quack Class Usage Examples

Méthodes publiques

Свойство Type Description
$code
$props
$subtype

Méthodes publiques

Méthode 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 méthode

For objects access
public __construct ( $code )

__toString() public méthode

public __toString ( )

getBaseType() public static méthode

public static getBaseType ( $types )

getDeepestSubtype() public méthode

public getDeepestSubtype ( )

hasSubtype() public méthode

public hasSubtype ( )

importFrom() public méthode

public importFrom ( Type $type )
$type Type

isAtom() public méthode

public isAtom ( )

isBlock() public méthode

public isBlock ( )

isBoolean() public méthode

public isBoolean ( )

isDouble() public méthode

public isDouble ( )

isExactlySameAs() public méthode

public isExactlySameAs ( Type $other )
$other Type

isInteger() public méthode

public isInteger ( )

isLazy() public méthode

public isLazy ( )

isList() public méthode

public isList ( )

isMap() public méthode

public isMap ( )

isNumber() public méthode

public isNumber ( )

isRegex() public méthode

public isRegex ( )

isString() public méthode

public isString ( )

Property Details

$code public_oe property

public $code

$props public_oe property

public $props

$subtype public_oe property

public $subtype