35 dim as integer last_isexpr = fbGetIsExpression( )
36 fbSetIsExpression( TRUE )
41 fbSetIsExpression( last_isexpr )
50 dim as integer op =
any, dtorlistcookie =
any
51 dim as ASTNODE
ptr expr =
any, logexpr =
any
56 if( logexpr = NULL )
then
79 if( expr = NULL )
then
84 logexpr =
astNewBOP( op, logexpr, expr,
cptr(
any ptr, dtorlistcookie ) )
85 if( logexpr = NULL )
then
103 dim as integer op =
any
104 dim as ASTNODE
ptr expr =
any, logexpr =
any
108 if( logexpr = NULL )
then
130 if( expr = NULL )
then
131 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
138 if( logexpr = NULL )
then
158 dim as ASTNODE
ptr expr =
any, logexpr =
any
162 if( logexpr = NULL )
then
177 if( expr = NULL )
then
178 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
183 logexpr =
astNewBOP( AST_OP_OR, logexpr, expr )
185 if( logexpr = NULL )
then
205 dim as ASTNODE
ptr expr =
any, logexpr =
any
209 if( logexpr = NULL )
then
224 if( expr = NULL )
then
225 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
230 logexpr =
astNewBOP( AST_OP_AND, logexpr, expr )
232 if( logexpr = NULL )
then
252 dim as integer op =
any
253 dim as ASTNODE
ptr expr =
any, relexpr =
any
257 if( relexpr = NULL )
then
266 parser.have_eq_outside_parens = (parser.prntcnt = 0)
270 if( fbGetEqInParensOnly( ) )
then
275 if( fbGetGtInParensOnly( ) )
then
287 assert( fbGetGtInParensOnly( ) = FALSE )
296 if( expr = NULL )
then
297 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
304 if( relexpr = NULL )
Then
325 if( isexpr = NULL )
then
335 if( astGetDataType( isexpr ) = FB_DATATYPE_STRUCT )
then
336 if( symbGetHasRTTI( astGetSubtype( isexpr ) ) = FALSE )
then
350 dim as integer dtype =
any
351 dim as FBSYMBOL
ptr subtype =
any
352 if(
cSymbolType( dtype, subtype, 0 ) = FALSE )
then
357 if( typeGetDtAndPtrOnly( dtype ) = FB_DATATYPE_STRUCT )
then
358 if( symbGetHasRTTI( subtype ) = FALSE )
then
364 errReport( FB_ERRMSG_TYPESARENOTRELATED )
375 var expr =
astNewVAR( subtype->udt.ext->rtti )
378 isexpr =
astNewBOP( AST_OP_IS, isexpr, expr )
380 if( isexpr = NULL )
Then
398 dim as ASTNODE
ptr expr =
any, catexpr =
any
402 if( catexpr = NULL )
then
417 if( expr = NULL )
then
418 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
423 catexpr =
astNewBOP( AST_OP_CONCAT, catexpr, expr )
425 if( catexpr = NULL )
then
445 dim as integer op =
any
446 dim as ASTNODE
ptr expr =
any, addexpr =
any
450 if( addexpr = NULL )
then
470 if( expr = NULL )
then
471 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
479 AST_OPOPT_DEFAULT
or AST_OPOPT_DOPTRARITH )
481 if( addexpr = NULL )
Then
500 dim as integer op =
any
501 dim as ASTNODE
ptr expr =
any, shiftexpr =
any
505 if( shiftexpr = NULL )
then
525 if( expr = NULL )
then
526 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
531 shiftexpr =
astNewBOP( op, shiftexpr, expr )
533 if( shiftexpr = NULL )
Then
552 dim as ASTNODE
ptr expr =
any, modexpr =
any
556 if( modexpr = NULL )
then
571 if( expr = NULL )
then
572 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
577 modexpr =
astNewBOP( AST_OP_MOD, modexpr, expr )
579 if( modexpr = NULL )
Then
598 dim as ASTNODE
ptr expr =
any, idivexpr =
any
602 if( idivexpr = NULL )
then
617 if( expr = NULL )
then
618 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
623 idivexpr =
astNewBOP( AST_OP_INTDIV, idivexpr, expr )
625 if( idivexpr = NULL )
Then
644 dim as integer op =
any
645 dim as ASTNODE
ptr expr =
any, mulexpr =
any
649 if( mulexpr = NULL )
then
669 if( expr = NULL )
then
670 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
677 if( mulexpr = NULL )
Then
696 dim as ASTNODE
ptr expr =
any, expexpr =
any
700 if( expexpr = NULL )
then
714 if( expr = NULL )
then
715 errReport( FB_ERRMSG_EXPECTEDEXPRESSION )
720 expexpr =
astNewBOP( AST_OP_POW, expexpr, expr )
722 if( expexpr = NULL )
Then