Lines Matching refs:hint
36 'aggregate' => array('@\s*([a-z0-9]+)(?:\(([^\)]*)\))?', array('aggregate','hint')),
37 'type' => array('\[\s*([a-z0-9]+)\s*(?:::([^\]]*))?\]', array('type', 'hint')),
174 * @param hint string the type hint of the variable
176 function updateTypemap(&$typemap, $var, $type, $hint=null) {
178 $typemap[$var] = array('type'=>$type,'hint'=>$hint);
549 $this->updateTypemap($typemap, $object['text'], $vtype->type, $vtype->hint);
550 $this->updateTypemap($typemap, $object['text'], $type->type, $type->hint);
558 list($type, $hint) = $this->util->getDefaultType();
561 $hint = $type->hint;
565 $object = $this->literal($type->normalize($object,$hint));
585 $this->updateTypemap($typemap, $lhs['text'], $ltype->type, $ltype->hint);
589 $this->updateTypemap($typemap, $rhs['text'], $ltype->type, $lhint->hint);
594 $this->updateTypemap($typemap, $rhs['text'], $rtype->type, $rtype->hint);
598 $this->updateTypemap($typemap, $lhs['text'], $rtype->type, $rtype->hint);
613 list($type,$hint) = $p->type($ltype);
615 $this->updateTypemap($typemap, $lhs['text'],$type,$hint);
621 list($type, $hint) = $this->util->getDefaultType();
634 unset($hint);
639 $rhs = $this->literal($type->normalize($rhs,$hint));
650 list($type, $hint) = $p->type($rtype);
652 $this->updateTypemap($typemap, $rhs['text'],$type,$hint);
658 list($type, $hint) = $this->util->getDefaultType();
671 unset($hint);
676 $lhs = $this->literal($type->normalize($lhs,$hint));
726 list($type,$hint) = $p->type($vtype);
729 $this->updateTypemap($typemap, $variable, $type, $hint);
730 $result[] = array('variable'=>$variable,'caption'=>$caption, 'aggregate'=>$agg, 'aggregateHint'=>$agghint, 'type'=>$type, 'hint'=>$hint);
756 list($type, $hint) = $p->type($vtype);
759 $this->updateTypemap($typemap, $variable, $type, $hint);
760 $result[] = array('variable'=>$variable,'caption'=>$caption, 'aggregate'=>$agg, 'aggregateHint'=>$agghint, 'type'=>$type, 'hint'=>$hint);