17 dim as FB_SYMBATTRIB attrib = FB_SYMBATTRIB_NONE
18 dim as integer tk =
any
23 if( env.clopt.lang = FB_LANG_QB )
then
24 if( lexGetType() <> FB_DATATYPE_INVALID )
then
32 attrib = FB_SYMBATTRIB_PUBLIC
39 attrib = FB_SYMBATTRIB_PRIVATE
48 case FB_TK_DEFBYTE, FB_TK_DEFUBYTE, FB_TK_DEFSHORT, FB_TK_DEFUSHORT, _
49 FB_TK_DEFINT, FB_TK_DEFUINT, FB_TK_DEFLNG, FB_TK_DEFULNG, _
50 FB_TK_DEFSNG, FB_TK_DEFDBL, FB_TK_DEFSTR, _
51 FB_TK_DEFLNGINT, FB_TK_DEFULNGINT
63 select case as const( tk )
64 case FB_TK_STATIC, FB_TK_CONST, FB_TK_VIRTUAL, FB_TK_ABSTRACT
70 case FB_TK_FUNCTION, FB_TK_SUB, FB_TK_OPERATOR, _
71 FB_TK_CONSTRUCTOR, FB_TK_DESTRUCTOR, FB_TK_PROPERTY, _
72 FB_TK_VIRTUAL, FB_TK_ABSTRACT
87 case FB_TK_FUNCTION, FB_TK_SUB, FB_TK_DESTRUCTOR, FB_TK_PROPERTY
88 if( attrib <> FB_SYMBATTRIB_NONE )
then
94 case FB_TK_ASSIGN, FB_TK_DBLEQ
102 case FB_TK_CONSTRUCTOR
103 if( attrib <> FB_SYMBATTRIB_NONE )
then
108 if( fbIsModLevel( ) )
then
115 if( attrib <> FB_SYMBATTRIB_NONE )
then
120 if( fbIsModLevel( ) )
then
126 case FB_TK_ASSIGN, FB_TK_DBLEQ
135 case FB_TK_TYPE, FB_TK_UNION
143 case FB_TK_DIM, FB_TK_REDIM, FB_TK_COMMON, FB_TK_EXTERN
151 if( attrib <> FB_SYMBATTRIB_NONE )
then