Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
queryToken Class Reference

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

Constructor & Destructor Documentation

__construct ( type = null,
value = null,
precedence = null,
quote = '"' 
)

Constructs the object

Parameters:
string$typeThe token type
string$valueThe value of the token
int$precedenceThe operator precedence (used only for operators) [OPTIONAL]
string$quoteThe quote to use [OPTIONAL] public
Returns:
void

Field Documentation

$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

The documentation for this class was generated from the following file: