Tariqa
3.0
|
Public Member Functions | |
__construct ($type=null, $value=null, $precedence=null, $quote= '"') | |
Data Fields | |
const | TOKEN_TYPE_FUNC = ":FUNC:" |
const | TOKEN_TYPE_OPERATOR = ":OPER:" |
const | TOKEN_TYPE_LPAR = ":LEFT:" |
const | TOKEN_TYPE_RPAR = ":RIGH:" |
const | TOKEN_TYPE_KEYWORD = ":KEYW:" |
const | TOKEN_TYPE_RESULT_KEYWORD = ":RESK:" |
const | TOKEN_TYPE_SEPARATOR = ":SEPA:" |
const | TYPE_LENGTH = 6 |
$type = null | |
$value = null | |
$quote = '"' | |
$precedence = null |
__construct | ( | $ | type = null , |
$ | value = null , |
||
$ | precedence = null , |
||
$ | quote = '"' |
||
) |
Constructs the object
string | $type | The token type |
string | $value | The value of the token |
int | $precedence | The operator precedence (used only for operators) [OPTIONAL] |
string | $quote | The quote to use [OPTIONAL] public |
$precedence = null |
$quote = '"' |
$type = null |
$value = null |
const TOKEN_TYPE_FUNC = ":FUNC:" |
const TOKEN_TYPE_KEYWORD = ":KEYW:" |
const TOKEN_TYPE_LPAR = ":LEFT:" |
const TOKEN_TYPE_OPERATOR = ":OPER:" |
const TOKEN_TYPE_RESULT_KEYWORD = ":RESK:" |
const TOKEN_TYPE_RPAR = ":RIGH:" |
const TOKEN_TYPE_SEPARATOR = ":SEPA:" |
const TYPE_LENGTH = 6 |