Lines Matching defs:action
61 typedef struct Action_s /* state action */
63 short type; /* action type id */
99 Action_t* action; /* action table */
100 Action_t* classid; /* classid action */
164 scanbranch(Scanstate_t* u, Action_t* action, Action_t* first, Action_t* last, register int i)
202 u = scanbranch(u, action, m, b - 1, i + 1);
208 return scanbranch(u, action, m, last, i + 1);
227 *u++ = a - action;
235 * parse scan action for a in s
375 expand(tmp, r->action);
535 ss->action = a = newof(0, Action_t, p - x + 1, 0);
601 scanbranch(ss->state, ss->action, ss->action + 1, ss->action + z, 0);
941 if (ss->action && ss->action[1].attrprop && ss->action[1].type == 'I')
943 u->attribute &= ~ss->action[1].attribute.clear;
944 u->attribute |= ss->action[1].attribute.set;
945 u->property &= ~ss->action[1].property.clear;
946 u->property |= ss->action[1].property.set;
972 if (ss->action && ss->action[1].attrprop && ss->action[1].type == 'I')
974 u->attribute &= ~ss->action[1].attribute.clear;
975 u->attribute |= ss->action[1].attribute.set;
976 u->property &= ~ss->action[1].property.clear;
977 u->property |= ss->action[1].property.set;
1038 * do scan match action a on r with matched string s
1052 static char label[] = "X-scan-action";
1120 error(1, "%s : %s: implicit reference before action completed", sfstruse(internal.tmp), unbound(u));
1511 error(2, "scanexec: HIT %s: %c n=%d \"%s\" \"%s\"", r->name, ss->action[*s].type, n - 1, b + arg[0].begin, b + arg[1].begin);
1514 switch (c = ss->action[*s].type)
1546 p = scanmatch(p, &ss->action[*s], r, (char*)b, a, iflev, c == 'T' ? -1 : a != null && a > (char*)b && (c = *(a - 1)) != '"' && c != '\'' && (c != '<' || arg[0].replace != '>'));