Lines Matching defs:type

74          OPT_FFLAG, OPT_FINT, OPT_FDBL, OPT_FSTR} type;
126 } type; /* Symbols are all either TERMINALS or NTs */
141 char *datatype; /* The data type of information held by this
142 ** object. Only used if type==NONTERMINAL */
143 int dtnum; /* The data type number. In the parser, the value
145 ** union is the correct data type for this object */
198 } type;
245 char *vartype; /* The default type of non-terminal symbols */
359 if( rc==0 ) rc = (int)ap1->type - (int)ap2->type;
361 assert( ap1->type==REDUCE || ap1->type==RD_RESOLVED || ap1->type==CONFLICT);
362 assert( ap2->type==REDUCE || ap2->type==RD_RESOLVED || ap2->type==CONFLICT);
376 void Action_add(app,type,sp,arg)
378 enum e_action type;
386 new->type = type;
388 if( type==SHIFT ){
644 if( s2->type==TERMINAL ){
950 if( ap->type==REDUCE ) ap->x.rp->canReduce = B_TRUE;
971 ** function won't work if apx->type==REDUCE and apy->type==SHIFT.
981 if( apx->type==SHIFT && apy->type==REDUCE ){
986 apy->type = CONFLICT;
989 apy->type = RD_RESOLVED;
991 apx->type = SH_RESOLVED;
993 apy->type = RD_RESOLVED; /* associativity */
995 apx->type = SH_RESOLVED;
998 apy->type = CONFLICT;
1001 }else if( apx->type==REDUCE && apy->type==REDUCE ){
1006 apy->type = CONFLICT;
1009 apy->type = RD_RESOLVED;
1011 apx->type = RD_RESOLVED;
1015 apx->type==SH_RESOLVED ||
1016 apx->type==RD_RESOLVED ||
1017 apx->type==CONFLICT ||
1018 apy->type==SH_RESOLVED ||
1019 apy->type==RD_RESOLVED ||
1020 apy->type==CONFLICT
1159 if( sp->type==NONTERMINAL ){
1169 if( xsp->type==TERMINAL ){
1644 }else if( op[j].type==OPT_FLAG ){
1646 }else if( op[j].type==OPT_FFLAG ){
1685 switch( op[j].type ){
1721 switch( op[j].type ){
1810 switch( op[i].type ){
1830 switch( op[i].type ){
2162 }else if( strcmp(x,"type")==0 ){
2634 switch( ap->type ){
2760 switch( ap->type ){
2878 if( sp->type==TERMINAL ){
2914 if( sp->type==TERMINAL ){
3005 ** This union contains fields for every possible data type for tokens
3022 int hash; /* For hashing the name of a type */
3050 ** a datatype using the %type directive.
3059 if( sp->type!=NONTERMINAL || (sp->datatype==0 && lemp->vartype==0) ){
3479 if( sp==0 || sp->type!=TERMINAL ) continue;
3482 for(i=0; i<lemp->nsymbol && lemp->symbols[i]->type!=TERMINAL; i++);
3490 if( sp==0 || sp->type==TERMINAL || sp->destructor==0 ) continue;
3499 if( sp==0 || sp->type==TERMINAL ||
3608 if( ap->type!=REDUCE ) continue;
3613 if( ap2->type!=REDUCE ) continue;
3631 if( ap->type==REDUCE && ap->x.rp==rbest ) break;
3636 if( ap->type==REDUCE && ap->x.rp==rbest ) ap->type = NOT_USED;
3744 ** associative array of type "x1".
3756 ** in an associative array of type "x1".
3874 sp->type = isupper(*x) ? TERMINAL : NONTERMINAL;
3905 ** associative array of type "x2".
3917 ** in an associative array of type "x2".
4111 ** associative array of type "x3".
4123 ** in an associative array of type "x3".
4258 ** associative array of type "x4".
4270 ** in an associative array of type "x4".