Table of Contents
-
TOKEN_TYPE
= 0
-
TOKEN_TYPE_BACKTICK_QUOTE
= 3
-
TOKEN_TYPE_BLOCK_COMMENT
= 9
-
TOKEN_TYPE_BOUNDARY
= 7
-
TOKEN_TYPE_COMMENT
= 8
-
TOKEN_TYPE_ERROR
= 11
-
TOKEN_TYPE_NUMBER
= 10
-
TOKEN_TYPE_QUOTE
= 2
-
TOKEN_TYPE_RESERVED
= 4
-
TOKEN_TYPE_RESERVED_NEWLINE
= 6
-
TOKEN_TYPE_RESERVED_TOPLEVEL
= 5
-
TOKEN_TYPE_VARIABLE
= 12
-
TOKEN_TYPE_WHITESPACE
= 0
-
TOKEN_TYPE_WORD
= 1
-
TOKEN_VALUE
= 1
-
$type
: int
-
$value
: string
-
__construct()
: mixed
-
hasExtraWhitespace()
: bool
-
isOfType()
: bool
-
type()
: int
-
value()
: string
-
withValue()
: self
TOKEN_TYPE
public
mixed
TOKEN_TYPE
= 0
TOKEN_TYPE_BACKTICK_QUOTE
public
mixed
TOKEN_TYPE_BACKTICK_QUOTE
= 3
public
mixed
TOKEN_TYPE_BLOCK_COMMENT
= 9
TOKEN_TYPE_BOUNDARY
public
mixed
TOKEN_TYPE_BOUNDARY
= 7
public
mixed
TOKEN_TYPE_COMMENT
= 8
TOKEN_TYPE_ERROR
public
mixed
TOKEN_TYPE_ERROR
= 11
TOKEN_TYPE_NUMBER
public
mixed
TOKEN_TYPE_NUMBER
= 10
TOKEN_TYPE_QUOTE
public
mixed
TOKEN_TYPE_QUOTE
= 2
TOKEN_TYPE_RESERVED
public
mixed
TOKEN_TYPE_RESERVED
= 4
TOKEN_TYPE_RESERVED_NEWLINE
public
mixed
TOKEN_TYPE_RESERVED_NEWLINE
= 6
TOKEN_TYPE_RESERVED_TOPLEVEL
public
mixed
TOKEN_TYPE_RESERVED_TOPLEVEL
= 5
TOKEN_TYPE_VARIABLE
public
mixed
TOKEN_TYPE_VARIABLE
= 12
TOKEN_TYPE_WHITESPACE
public
mixed
TOKEN_TYPE_WHITESPACE
= 0
TOKEN_TYPE_WORD
public
mixed
TOKEN_TYPE_WORD
= 1
TOKEN_VALUE
public
mixed
TOKEN_VALUE
= 1
$type
private
int
$type
$value
private
string
$value
__construct()
public
__construct(int $type, string $value) : mixed
Parameters
-
$type
: int
-
-
$value
: string
-
Return values
mixed
—
public
hasExtraWhitespace() : bool
Return values
bool
—
isOfType()
public
isOfType(int ...$types) : bool
Parameters
-
$types
: int
-
Return values
bool
—
type()
public
type() : int
Return values
int
—
value()
public
value() : string
Return values
string
—
withValue()
public
withValue(string $value) : self
Parameters
-
$value
: string
-
Return values
self
—