Lines Matching refs:variable

195     function variable($var) {  function in helper_plugin_strata_syntax
271 …if(preg_match("/^({$p->variable})\s*(?:\((asc|desc)(?:ending)?\))?$/S",utf8_trim($line['text']),$m…
272 $var = $p->variable($match[1]);
298 if(preg_match("/({$p->variable})$/",utf8_trim($line['text']),$match)) {
299 $var = $p->variable($match[1]);
322 if(preg_match("/^({$p->variable})$/",utf8_trim($line['text']),$match)) {
323 $var = $p->variable($match[1]);
507 …if(preg_match("/^({$p->variable}|{$p->reflit})\s+({$p->variable}|{$p->predicate})\s*({$p->type})?\…
512 $subject = $this->variable($subject);
524 $predicate = $this->variable($predicate);
534 if(preg_match("/^({$p->variable})\s*({$p->type})?$/",$object,$captures)!=1) {
541 $object = $this->variable($var);
574 …} elseif(preg_match("/^({$p->variable})\s*({$p->type})?\s*({$p->operator})\s*({$p->variable})\s*({…
577 $lhs = $this->variable($lhs);
578 $rhs = $this->variable($rhs);
608 …} elseif(preg_match("/^({$p->variable})\s*({$p->type})?\s*({$p->operator})\s*({$p->any})$/S",$line…
613 $lhs = $this->variable($lhs);
647 …} elseif(preg_match("/^({$p->any})\s*({$p->operator})\s*({$p->variable})\s*({$p->type})?$/S",$line…
650 $rhs = $this->variable($rhs);
724 …if(preg_match("/^({$p->variable})\s*({$p->aggregate})?\s*({$p->type})?(?:\s*(:)\s*({$p->any})?\s*)…
726 $variable = $p->variable($var)->name;
727 if(!$nocaphint || (!$nocaphint && !$caption)) $caption = ucfirst($variable);
732 $this->updateTypemap($typemap, $variable, $type, $hint);
733 …$result[] = array('variable'=>$variable,'caption'=>$caption, 'aggregate'=>$agg, 'aggregateHint'=>$…
750 …if(preg_match_all("/\s*({$p->variable})\s*({$p->aggregate})?\s*({$p->type})?\s*(?:(\")([^\"]*)\")?…
758 $variable = $p->variable($var)->name;
761 if(!$caption_indicator) $caption = ucfirst($variable);
762 $this->updateTypemap($typemap, $variable, $type, $hint);
763 …$result[] = array('variable'=>$variable,'caption'=>$caption, 'aggregate'=>$agg, 'aggregateHint'=>$…
778 …return "(?:\s*{$p->variable}\s*{$p->aggregate}?\s*{$p->type}?".($captions?'\s*(?:"[^"]*")?':'').")…
994 list(, $variable, $multi, $value) = $match;
995 …$this->_setPropertyValue($properties, $tree['tag'], $lineNode, $variable, !empty($multi), $value, …
1019 …function _setPropertyValue($properties, $group, $region, $variable, $isMulti, $value, &$propertyVa… argument
1020 if (!isset($properties[$variable])) {
1030 …$this->emitError($region, 'error_property_unknownproperty', hsc($group), hsc($variable), $property…
1031 } else if (isset($propertyValues[$variable])) {
1033 $this->emitError($region, 'error_property_multi', hsc($group), hsc($variable));
1035 $p = $properties[$variable];
1046 … $this->emitError($region, 'error_property_notmulti', hsc($group), hsc($variable), $minOccur);
1053 …$this->emitError($region, 'error_property_occur', hsc($group), hsc($variable), $minOccur, count($v…
1055 …this->emitError($region, 'error_property_occurrange', hsc($group), hsc($variable), $minOccur, $max…
1079 …s->emitError($region, 'error_property_invalidchoice', hsc($group), hsc($variable), hsc($v), implod…
1082 …$propertyValues[$variable] = array_map(function($v) use ($choices) { return $choices[$v]; }, $valu…
1089 …his->emitError($region, 'error_property_patterndesc', hsc($group), hsc($variable), hsc($v), $p['pa…
1091 …$this->emitError($region, 'error_property_pattern', hsc($group), hsc($variable), hsc($v), hsc($p['…
1095 $propertyValues[$variable] = $values;
1098 $propertyValues[$variable] = $values;