13 dim as ASTNODE
ptr expr =
any
16 hMatchExpressionEx( expr, FB_DATATYPE_INTEGER )
20 if( expr = NULL )
then
29 dim as ASTNODE
ptr expr =
any, expr2 =
any
34 hMatchExpressionEx( expr, FB_DATATYPE_INTEGER )
36 hMatchExpressionEx( expr2, FB_DATATYPE_INTEGER )
39 expr =
astNewBOP( AST_OP_ATAN2, expr, expr2 )
40 if( expr = NULL )
then
50 byval expr
as ASTNODE
ptr, _
51 byref lgt
as longint _
54 dim as FBSYMBOL
ptr litsym =
any
56 select case( astGetDataType( expr ) )
57 case FB_DATATYPE_STRING
62 if( litsym = NULL )
then
67 lgt = symbGetStrLen( litsym ) - 1
69 case FB_DATATYPE_WCHAR
71 if( litsym = NULL )
then
76 lgt = symbGetWstrLen( litsym ) - 1
78 case FB_DATATYPE_FIXSTR
97 byval is_len
as integer, _
98 byval isasm
as integer _
101 dim as ASTNODE
ptr expr =
any, expr2 =
any, initree =
any
102 dim as integer dtype =
any
103 dim as longint lgt =
any
104 dim as FBSYMBOL
ptr subtype =
any
118 if( astIsNIDXARRAY( expr ) )
then
120 expr2 = astGetLeft( expr )
126 if( is_len = FALSE )
then
127 if( astGetDataClass( expr ) = FB_DATACLASS_STRING )
then
128 if( (astGetSymbol( expr ) = NULL)
or astIsCALL( expr ) )
then
129 errReport( FB_ERRMSG_EXPECTEDIDENTIFIER, TRUE )
143 if( isasm = FALSE )
then
154 expr =
hLen( expr, lgt )
155 if( expr = NULL )
then
180 byval tk
as FB_TOKEN, _
181 byval isasm
as integer _
186 select case as const tk
201 function =
hMathOp(AST_OP_FRAC)
205 function =
hMathOp(AST_OP_FLOOR)
212 function =
hMathOp(AST_OP_ASIN)
218 function =
hMathOp(AST_OP_ACOS)
224 function =
hMathOp(AST_OP_ATAN)
227 function =
hMathOp(AST_OP_SQRT)