Lines Matching refs:arg
45 foreach ($this->args() as $arg) {
46 if ($arg instanceof ElementInstance) {
47 $pieces[] = $arg->getStringValue();
49 $pieces[] = $arg->match();
89 foreach ($this->args() as $arg) {
90 … if ($arg instanceof TokenInstance || ($recursive && !$arg->isExpanded($recursive))) {
111 foreach ($this->args() as $arg) {
112 if ($arg instanceof ElementInstance && !$arg->isExpanded($recursive)) {
113 $arg->expand($elmDef);
131 foreach ($this->args() as $arg) {
132 if ($arg instanceof TokenInstance) {
133 return $arg;
135 $tok = $arg->findUnexpandedToken($recursive);
158 foreach ($this->args() as $arg) {
160 if ($arg instanceof TokenInstance) {
161 echo $indentStr . $extraIndentStr . '+-' . $arg . "\n";
163 $arg->printTree($indentStr . $extraIndentStr, $argIdx == count($this->args()));
173 foreach ($this->args() as $arg) {
174 if ($arg instanceof ElementInstance) {
175 $values[] = $arg->evaluate();
177 $values[] = $arg;
197 foreach ($this->args() as $arg) {
198 if ($arg instanceof ElementInstance) {
199 $arg->ensureWellFormed($recursive);
566 foreach ($elmInstance->args() as $arg) {
567 if ($arg instanceof TokenInstance) {
568 $argsRepr[] = $arg->match();
570 $argsRepr[] = $arg->getRepresentation();