FreeBASIC  0.91.0
parser.bi File Reference
#include "lex.bi"
#include "ast.bi"
Include dependency graph for parser.bi:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  FB_CMPSTMT_DO
 
class  FB_CMPSTMT_WHILE
 
class  FB_CMPSTMT_FORELM
 
class  FB_CMPSTMT_FOR
 
class  FB_CMPSTMT_IF
 
class  FB_CMPSTMT_PROC
 
class  FB_CMPSTMT_SELCONST
 
class  FB_CMPSTMT_SELECT
 
class  FB_CMPSTMT_WITH
 
class  FB_CMPSTMT_NAMESPACE
 
class  FB_CMPSTMT_EXTERN
 
class  FB_CMPSTMT_SCOPE
 
class  FB_CMPSTMTSTK
 
class  FB_LETSTMT_NODE
 
class  FBPARSER_STMT_LET
 
class  FBPARSER_STMT
 
class  PARSERCTX
 

Macros

#define cCompSetAllowmask(s, v)   /* s->allowmask = v */
 
#define hSkipStmt()
 
#define hMatchLPRNT()
 
#define hMatchRPRNT()
 
#define hMatchCOMMA()
 
#define hMatchExpression(e)
 
#define hMatchExpressionEx(e, dtype)
 
#define hCheckSuffix(suffix)
 
#define hEmitCurrLine()
 
#define hGetInstPtrMode(ip)   /* iif( astIsCONST( ip ), FB_PARAMMODE_BYVAL, INVALID ) */
 
#define fbIsModLevel()   /* (parser.currproc = env.main.proc) */
 
#define fbGetCompStmtId()   /* parser.stmt.id */
 
#define fbGetPrntOptional()   /* ((parser.options and FB_PARSEROPT_PRNTOPT) <> 0) */
 
#define fbSetPrntOptional(_bool)
 
#define fbGetCheckArray()   /* ((parser.options and FB_PARSEROPT_CHKARRAY) <> 0) */
 
#define fbSetCheckArray(_bool)
 
#define fbGetIsExpression()   /* ((parser.options and FB_PARSEROPT_ISEXPR) <> 0) */
 
#define fbSetIsExpression(_bool)
 
#define fbGetIsScope()   /* ((parser.options and FB_PARSEROPT_ISSCOPE) <> 0) */
 
#define fbSetIsScope(_bool)
 
#define fbGetEqInParensOnly()   /* ((parser.options and FB_PARSEROPT_EQINPARENSONLY) <> 0) */
 
#define fbSetEqInParensOnly(_bool)
 
#define fbGetGtInParensOnly()   /* ((parser.options and FB_PARSEROPT_GTINPARENSONLY) <> 0) */
 
#define fbSetGtInParensOnly(_bool)
 
#define fbGetIsPP()   /* ((parser.options and FB_PARSEROPT_ISPP) <> 0) */
 
#define fbSetIsPP(_bool)
 

Typedefs

typedef struct FB_CMPSTMTSTK FB_CMPSTMTSTK_
 

Enumerations

enum  FB_CMPSTMT_MASK {
  FB_CMPSTMT_MASK_NOTHING = &h00000000, FB_CMPSTMT_MASK_CODE = &h00000001, FB_CMPSTMT_MASK_PROC = &h00000002, FB_CMPSTMT_MASK_NAMESPC = &h00000004,
  FB_CMPSTMT_MASK_DECL = &h00000008, FB_CMPSTMT_MASK_EXTERN = &h00000010, FB_CMPSTMT_MASK_DATA = &h00000020, FB_CMPSTMT_MASK_ALL = &hFFFFFFFF,
  FB_CMPSTMT_MASK_DEFAULT = FB_CMPSTMT_MASK_CODE
}
 
enum  FB_PARSEROPT {
  FB_PARSEROPT_NONE = &h00000000, FB_PARSEROPT_PRNTOPT = &h00000001, FB_PARSEROPT_CHKARRAY = &h00000002, FB_PARSEROPT_ISEXPR = &h00000004,
  FB_PARSEROPT_ISSCOPE = &h00000008, FB_PARSEROPT_ISFUNC = &h00000010, FB_PARSEROPT_OPTONLY = &h00000020, FB_PARSEROPT_HASINSTPTR = &h00000040,
  FB_PARSEROPT_ISPROPGET = &h00000080, FB_PARSEROPT_EQINPARENSONLY = &h00000100, FB_PARSEROPT_GTINPARENSONLY = &h00000200, FB_PARSEROPT_ISPP = &h00000400,
  FB_PARSEROPT_EXPLICITBASE = &h00000800
}
 
enum  FB_SYMBTYPEOPT { FB_SYMBTYPEOPT_NONE = &h00000000, FB_SYMBTYPEOPT_CHECKSTRPTR = &h00000001, FB_SYMBTYPEOPT_ALLOWFORWARD = &h00000002, FB_SYMBTYPEOPT_DEFAULT = FB_SYMBTYPEOPT_CHECKSTRPTR }
 
enum  FB_IDOPT {
  FB_IDOPT_NONE = &h00000000, FB_IDOPT_DONTCHKPERIOD = &h00000001, FB_IDOPT_SHOWERROR = &h00000002, FB_IDOPT_ISDECL = &h00000004,
  FB_IDOPT_ISOPERATOR = &h00000008, FB_IDOPT_ALLOWSTRUCT = &h00000010, FB_IDOPT_CHECKSTATIC = &h00000020, FB_IDOPT_ISVAR = &h00000040,
  FB_IDOPT_DEFAULT = FB_IDOPT_SHOWERROR or FB_IDOPT_CHECKSTATIC
}
 
enum  FB_INIOPT { FB_INIOPT_NONE = &h00000000, FB_INIOPT_ISINI = &h00000001, FB_INIOPT_DODEREF = &h00000002, FB_INIOPT_ISOBJ = &h00000004 }
 
enum  FB_PROCOPT { FB_PROCOPT_NONE = &h00000000, FB_PROCOPT_ISPROTO = &h00000001, FB_PROCOPT_HASPARENT = &h00000002 }
 
enum  FB_VAREXPROPT {
  FB_VAREXPROPT_NONE = &h00000000, FB_VAREXPROPT_NOARRAYCHECK = &h00000001, FB_VAREXPROPT_ALLOWADDROF = &h00000002, FB_VAREXPROPT_ISEXPR = &h00000004,
  FB_VAREXPROPT_ISASSIGN = &h00000010
}
 

Functions

sub cProgram ()
 
function_as_integer cLabel ()
 
function_as_integer cComment (byval_as_LEXCHECK lexflags=LEXCHECK_EVERYTHING)
 
sub cStatement ()
 
function_as_integer cStmtSeparator (byval_as_LEXCHECK lexflags=LEXCHECK_EVERYTHING)
 
function_as_integer cDeclaration ()
 
sub cConstDecl (byval_as_integer attrib)
 
sub cTypeDecl (byval_as_integer attrib)
 
sub cTypedefMultDecl ()
 
sub cTypedefSingleDecl (byval_as_zstring_ptr pid)
 
sub cEnumDecl (byval_as_integer attrib)
 
function_as_integer hCheckScope ()
 
function_as_integer cVariableDecl (byval_as_FB_SYMBATTRIB attrib=FB_SYMBATTRIB_NONE)
 
sub cAutoVarDecl (byval_as_FB_SYMBATTRIB attrib)
 
function_as_integer cStaticArrayDecl (byref_as_integer dimensions, as_FBARRAYDIM dTB[+1], byval_as_integer checkprnts[+1]=TRUE, byval_as_integer allow_ellipsis[+1]=TRUE)
 
sub cArrayDecl (byref_as_integer dimensions, as_ASTNODE_ptr exprTB[+1])
 
function_as_ASTNODE_ptr cInitializer (byval_as_FBSYMBOL_ptr s, byval_as_FB_INIOPT options)
 
function_as_ASTNODE_ptr cTypeOrExpression (byval_as_integer is_len, byref_as_integer dtype, byref_as_FBSYMBOL_ptr subtype, byref_as_longint lgt)
 
sub cTypeOf (byref_as_integer dtype, byref_as_FBSYMBOL_ptr subtype, byref_as_longint lgt)
 
function_as_integer cSymbolType (byref_as_integer dtype, byref_as_FBSYMBOL_ptr subtype, byref_as_longint lgt, byval_as_FB_SYMBTYPEOPT options=FB_SYMBTYPEOPT_DEFAULT)
 
function_as_FBSYMCHAIN_ptr cIdentifier (byref_as_FBSYMBOL_ptr base_parent, byval_as_FB_IDOPT options=FB_IDOPT_DEFAULT)
 
function_as_FBSYMBOL_ptr cParentId (byval_as_FB_IDOPT options=FB_IDOPT_NONE)
 
sub cCurrentParentId ()
 
sub cProcDecl ()
 
function_as_FBSYMBOL_ptr cProcHeader (byval_as_FB_SYMBATTRIB attrib, byref_as_integer is_nested, byval_as_FB_PROCOPT options, byval_as_integer tk)
 
sub cParameters (byval_as_FBSYMBOL_ptr parent, byval_as_FBSYMBOL_ptr proc, byval_as_integer procmode, byval_as_integer isproto)
 
sub cDefDecl ()
 
sub cOptDecl ()
 
function_as_integer cProcCallOrAssign ()
 
function_as_integer cQuirkStmt (byval_as_FB_TOKEN tk=INVALID)
 
function_as_integer cCompoundStmt ()
 
function_as_integer cCompStmtCheck ()
 
function_as_FB_CMPSTMTSTK_ptr cCompStmtPush (byval_as_FB_TOKEN id, byval_as_FB_CMPSTMT_MASK allowmask=FB_CMPSTMT_MASK_DEFAULT)
 
function_as_FB_CMPSTMTSTK_ptr cCompStmtGetTOS (byval_as_FB_TOKEN forid, byval_as_integer showerror=TRUE)
 
sub cCompStmtPop (byval_as_FB_CMPSTMTSTK_ptr stk)
 
function_as_integer cCompStmtIsAllowed (byval_as_FB_CMPSTMT_MASK allowmask)
 
sub cIfStmtBegin ()
 
sub cIfStmtNext ()
 
sub cIfStmtEnd ()
 
sub cForStmtBegin ()
 
sub cForStmtEnd ()
 
sub cDoStmtBegin ()
 
sub cDoStmtEnd ()
 
sub cWhileStmtBegin ()
 
sub cWhileStmtEnd ()
 
sub cSelectStmtBegin ()
 
sub cSelectStmtNext ()
 
sub cSelectStmtEnd ()
 
sub cSelConstStmtBegin ()
 
sub cSelConstStmtNext (byval_as_FB_CMPSTMTSTK_ptr stk)
 
sub cSelConstStmtEnd (byval_as_FB_CMPSTMTSTK_ptr stk)
 
sub hDisallowStaticAttrib (byref_as_integer attrib)
 
sub hDisallowVirtualCtor (byref_as_integer attrib)
 
sub hDisallowAbstractDtor (byref_as_integer attrib)
 
sub hDisallowConstCtorDtor (byval_as_integer tk, byref_as_integer attrib)
 
sub cProcStmtBegin (byval_as_integer attrib=0)
 
sub cProcStmtEnd ()
 
sub cExitStatement ()
 
sub cEndStatement ()
 
sub cContinueStatement ()
 
sub cWithStmtBegin ()
 
sub cWithStmtEnd ()
 
sub cScopeStmtBegin ()
 
sub cScopeStmtEnd ()
 
sub cNamespaceStmtBegin ()
 
sub cNamespaceStmtEnd ()
 
sub cUsingStmt ()
 
sub cExternStmtBegin ()
 
sub cExternStmtEnd ()
 
function_as_integer cAssignmentOrPtrCall ()
 
function_as_integer cAssignmentOrPtrCallEx (byval_as_ASTNODE_ptr expr)
 
function_as_integer hIsAssignToken ()
 
function_as_integer cAssignToken ()
 
function_as_integer cOperator (byval_as_integer is_overload)
 
function_as_ASTNODE_ptr cExpression ()
 
function_as_ASTNODE_ptr cCatExpression ()
 
function_as_ASTNODE_ptr cBoolExpression ()
 
function_as_ASTNODE_ptr cLogExpression ()
 
function_as_ASTNODE_ptr cRelExpression ()
 
function_as_ASTNODE_ptr cAddExpression ()
 
function_as_ASTNODE_ptr cShiftExpression ()
 
function_as_ASTNODE_ptr cModExpression ()
 
function_as_ASTNODE_ptr cIntDivExpression ()
 
function_as_ASTNODE_ptr cMultExpression ()
 
function_as_ASTNODE_ptr cExpExpression ()
 
function_as_ASTNODE_ptr cNegNotExpression ()
 
function_as_ASTNODE_ptr cHighestPrecExpr (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMCHAIN_ptr chain_)
 
function_as_ASTNODE_ptr cDerefExpression ()
 
function_as_ASTNODE_ptr cAddrOfExpression ()
 
function_as_ASTNODE_ptr cTypeConvExpr (byval_as_FB_TOKEN tk, byval_as_integer isASM=FALSE)
 
function_as_ASTNODE_ptr cEqInParensOnlyExpr ()
 
function_as_ASTNODE_ptr cGtInParensOnlyExpr ()
 
function_as_ASTNODE_ptr cParentExpression ()
 
function_as_ASTNODE_ptr cAtom (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMCHAIN_ptr chain_)
 
function_as_ASTNODE_ptr cVariable (byval_as_FBSYMCHAIN_ptr chain, byval_as_integer checkarray=TRUE)
 
function_as_ASTNODE_ptr cVariableEx (byval_as_FBSYMBOL_ptr sym, byval_as_integer check_array)
 
function_as_ASTNODE_ptr cVariableEx (byval_as_FBSYMCHAIN_ptr chain, byval_as_integer checkarray)
 
function_as_ASTNODE_ptr cWithVariable (byval_as_integer checkarray)
 
function_as_ASTNODE_ptr cImplicitDataMember (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMCHAIN_ptr chain_, byval_as_integer checkarray, byval_as_FB_PARSEROPT options)
 
function_as_ASTNODE_ptr cVarOrDeref (byval_as_FB_VAREXPROPT options=FB_VAREXPROPT_NONE)
 
function_as_ASTNODE_ptr cFunctionEx (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMBOL_ptr sym, byval_as_FB_PARSEROPT options=0)
 
function_as_ASTNODE_ptr cQuirkFunction (byval_as_FBSYMBOL_ptr sym)
 
function_as_ASTNODE_ptr cConstant (byval_as_FBSYMBOL_ptr sym)
 
function_as_ASTNODE_ptr cEnumConstant (byval_as_FBSYMBOL_ptr sym)
 
function_as_ASTNODE_ptr cStrLiteral (byval_as_integer skiptoken=TRUE)
 
function_as_ASTNODE_ptr cNumLiteral (byval_as_integer skiptoken=TRUE)
 
function_as_ASTNODE_ptr cProcArgList (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMBOL_ptr proc, byval_as_ASTNODE_ptr ptrexpr, byval_as_FB_CALL_ARG_LIST_ptr arg_list, byval_as_FB_PARSEROPT options)
 
function_as_integer cAsmBlock ()
 
function_as_zstring_ptr cAliasAttribute ()
 
sub cLibAttribute ()
 
sub cMethodAttributes (byval_as_FBSYMBOL_ptr parent, byref_as_integer attrib)
 
sub cProcRetType (byval_as_integer attrib, byval_as_FBSYMBOL_ptr proc, byval_as_integer is_proto, byref_as_integer dtype, byref_as_FBSYMBOL_ptr subtype)
 
function_as_FB_PROC_RETURN_METHOD cProcReturnMethod (byval_as_FB_DATATYPE dtype)
 
function_as_FB_FUNCMODE cProcCallingConv (byval_as_FB_FUNCMODE default=FB_FUNCMODE_FBCALL)
 
sub cByrefAttribute (byref_as_integer attrib, byval_as_integer is_func)
 
function_as_ASTNODE_ptr cFunctionCall (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMBOL_ptr sym, byval_as_ASTNODE_ptr ptrexpr, byval_as_ASTNODE_ptr thisexpr=NULL, byval_as_FB_PARSEROPT options=0)
 
sub hMethodCallAddInstPtrOvlArg (byval_as_FBSYMBOL_ptr proc, byval_as_ASTNODE_ptr thisexpr, byval_as_FB_CALL_ARG_LIST_ptr arg_list, byval_as_FB_PARSEROPT_ptr options)
 
function_as_ASTNODE_ptr cProcCall (byval_as_FBSYMBOL_ptr base_parent, byval_as_FBSYMBOL_ptr sym, byval_as_ASTNODE_ptr ptrexpr, byval_as_ASTNODE_ptr thisexpr=NULL, byval_as_integer checkprnts=FALSE, byval_as_FB_PARSEROPT options=0)
 
function_as_ASTNODE_ptr cMethodCall (byval_as_FBSYMBOL_ptr sym, byval_as_ASTNODE_ptr thisexpr, byval_as_FB_PARSEROPT options)
 
function_as_ASTNODE_ptr cCtorCall (byval_as_FBSYMBOL_ptr sym)
 
function_as_ASTNODE_ptr cUdtMember (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype, byval_as_ASTNODE_ptr varexpr, byval_as_integer check_array, byval_as_FB_PARSEROPT options=0)
 
function_as_ASTNODE_ptr cMemberAccess (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype, byval_as_ASTNODE_ptr expr)
 
function_as_ASTNODE_ptr cMemberDeref (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype, byval_as_ASTNODE_ptr varexpr, byval_as_integer checkarray)
 
function_as_ASTNODE_ptr cFuncPtrOrMemberDeref (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype, byval_as_ASTNODE_ptr varexpr, byval_as_integer isfuncptr, byval_as_integer checkarray)
 
function_as_ASTNODE_ptr cStrIdxOrMemberDeref (byval_as_ASTNODE_ptr expr)
 
sub cAssignment (byval_as_ASTNODE_ptr assgexpr)
 
function_as_FB_PARAMMODE cBydescArrayArgParens (byval_as_ASTNODE_ptr arg)
 
function_as_integer cAssignFunctResult (byval_as_integer is_return)
 
function_as_integer cGfxStmt (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cGfxFunct (byval_as_FB_TOKEN tk)
 
function_as_integer cGotoStmt (byval_as_FB_TOKEN tk)
 
function_as_integer cPrintStmt (byval_as_FB_TOKEN tk)
 
function_as_integer cDataStmt (byval_as_FB_TOKEN tk)
 
function_as_integer cEraseStmt ()
 
function_as_integer cSwapStmt ()
 
function_as_integer cLineInputStmt ()
 
function_as_integer cInputStmt ()
 
function_as_integer cPokeStmt ()
 
function_as_integer cFileStmt (byval_as_FB_TOKEN tk)
 
function_as_integer cOnStmt ()
 
function_as_integer cWriteStmt ()
 
function_as_integer cErrorStmt ()
 
function_as_integer cErrSetStmt ()
 
function_as_ASTNODE_ptr cViewStmt (byval_as_integer is_func)
 
function_as_integer cMidStmt ()
 
function_as_integer cLRSetStmt (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cWidthStmt (byval_as_integer isfunc)
 
function_as_ASTNODE_ptr cColorStmt (byval_as_integer isfunc)
 
function_as_ASTNODE_ptr cStringFunct (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cCVXFunct (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cMKXFunct (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cMathFunct (byval_as_FB_TOKEN tk, byval_as_integer isasm)
 
function_as_ASTNODE_ptr cPeekFunct ()
 
function_as_ASTNODE_ptr cArrayFunct (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cFileFunct (byval_as_FB_TOKEN tk)
 
function_as_ASTNODE_ptr cErrorFunct ()
 
function_as_ASTNODE_ptr cIIFFunct ()
 
function_as_ASTNODE_ptr cVAFunct ()
 
function_as_ASTNODE_ptr cScreenFunct ()
 
function_as_ASTNODE_ptr cAnonType ()
 
function_as_longint cConstIntExpr (byval_as_ASTNODE_ptr expr, byval_as_longint defaultvalue=0)
 
function_as_ASTNODE_ptr cOperatorNew ()
 
sub cOperatorDelete ()
 
sub hSkipUntil (byval_as_integer token, byval_as_integer doeat=FALSE, byval_as_LEXCHECK flags=LEXCHECK_EVERYTHING, byval_as_integer stop_on_comma=FALSE)
 
sub hSkipCompound (byval_as_integer for_token, byval_as_integer until_token=INVALID, byval_as_LEXCHECK flags=LEXCHECK_EVERYTHING)
 
function_as_ASTNODE_ptr hMatchExpr (byval_as_integer dtype)
 
function_as_FBSYMBOL_ptr cVarDecl (byval_as_integer attrib, byval_as_integer dopreserve, byval_as_integer token, byval_as_integer is_fordecl)
 
sub hComplainIfAbstractClass (byval_as_integer dtype, byval_as_FBSYMBOL_ptr subtype)
 
sub hSymbolType (byref_as_integer dtype, byref_as_FBSYMBOL_ptr subtype, byref_as_longint lgt)
 
function_as_integer hCheckForDefiniteTypes ()
 
function_as_integer hCheckForDefiniteExprs ()
 
function_as_ASTNODE_ptr cThreadCallFunc ()
 
function_as_FB_DATATYPE hIntegerTypeFromBitSize (byval_as_longint bitsize, byval_as_integer is_unsigned=FALSE)
 

Variables

PARSERCTX parser
 

Macro Definition Documentation

#define cCompSetAllowmask (   s,
 
)    /* s->allowmask = v */

Definition at line 862 of file parser.bi.

#define fbGetCheckArray ( )    /* ((parser.options and FB_PARSEROPT_CHKARRAY) <> 0) */

Definition at line 946 of file parser.bi.

#define fbGetCompStmtId ( )    /* parser.stmt.id */

Definition at line 934 of file parser.bi.

#define fbGetEqInParensOnly ( )    /* ((parser.options and FB_PARSEROPT_EQINPARENSONLY) <> 0) */

Definition at line 976 of file parser.bi.

#define fbGetGtInParensOnly ( )    /* ((parser.options and FB_PARSEROPT_GTINPARENSONLY) <> 0) */

Definition at line 986 of file parser.bi.

#define fbGetIsExpression ( )    /* ((parser.options and FB_PARSEROPT_ISEXPR) <> 0) */

Definition at line 956 of file parser.bi.

#define fbGetIsPP ( )    /* ((parser.options and FB_PARSEROPT_ISPP) <> 0) */

Definition at line 997 of file parser.bi.

#define fbGetIsScope ( )    /* ((parser.options and FB_PARSEROPT_ISSCOPE) <> 0) */

Definition at line 966 of file parser.bi.

#define fbGetPrntOptional ( )    /* ((parser.options and FB_PARSEROPT_PRNTOPT) <> 0) */

Definition at line 936 of file parser.bi.

#define fbIsModLevel ( )    /* (parser.currproc = env.main.proc) */

Definition at line 932 of file parser.bi.

#define fbSetCheckArray (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_CHKARRAY
else
parser.options and= not FB_PARSEROPT_CHKARRAY
end if
#endmacro */

Definition at line 948 of file parser.bi.

#define fbSetEqInParensOnly (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_EQINPARENSONLY
else
parser.options and= not FB_PARSEROPT_EQINPARENSONLY
end if
#endmacro */

Definition at line 978 of file parser.bi.

#define fbSetGtInParensOnly (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_GTINPARENSONLY
else
parser.options and= not FB_PARSEROPT_GTINPARENSONLY
end if
#endmacro */

Definition at line 988 of file parser.bi.

#define fbSetIsExpression (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_ISEXPR
else
parser.options and= not FB_PARSEROPT_ISEXPR
end if
#endmacro */

Definition at line 958 of file parser.bi.

#define fbSetIsPP (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_ISPP
else
parser.options and= not FB_PARSEROPT_ISPP
end if
#endmacro */

Definition at line 998 of file parser.bi.

#define fbSetIsScope (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_ISSCOPE
else
parser.options and= not FB_PARSEROPT_ISSCOPE
end if
#endmacro */

Definition at line 968 of file parser.bi.

#define fbSetPrntOptional (   _bool)
Value:
/* (multi line FreeBasic #MACRO)
if( _bool ) then
parser.options or= FB_PARSEROPT_PRNTOPT
else
parser.options and= not FB_PARSEROPT_PRNTOPT
end if
#endmacro */

Definition at line 938 of file parser.bi.

#define hCheckSuffix (   suffix)
Value:
/* (multi line FreeBasic #MACRO)
if( suffix <> FB_DATATYPE_INVALID ) then
if( fbLangOptIsSet( FB_LANG_OPT_SUFFIX ) = FALSE ) then
errReportNotAllowed( FB_LANG_OPT_SUFFIX, FB_ERRMSG_SUFFIXONLYVALIDINLANG )
end if
end if
#endmacro */

Definition at line 912 of file parser.bi.

#define hEmitCurrLine ( )
Value:
/* (multi line FreeBasic #MACRO)
if( env.clopt.debug ) then
if( env.includerec = 0 ) then
astAdd( astNewLIT( lexCurrLineGet( ) ) )
lexCurrLineReset( )
end if
end if
#endmacro */

Definition at line 921 of file parser.bi.

#define hGetInstPtrMode (   ip)    /* iif( astIsCONST( ip ), FB_PARAMMODE_BYVAL, INVALID ) */

Definition at line 930 of file parser.bi.

#define hMatchCOMMA ( )
Value:
/* (multi line FreeBasic #MACRO)
if( lexGetToken( ) <> CHAR_COMMA ) then
errReport( FB_ERRMSG_EXPECTEDCOMMA )
else
lexSkipToken( )
end if
#endmacro */

Definition at line 887 of file parser.bi.

#define hMatchExpression (   e)
Value:
/* (multi line FreeBasic #MACRO)
e = hMatchExpr( INVALID )
if( e = NULL ) then
exit function
end if
#endmacro */

Definition at line 896 of file parser.bi.

#define hMatchExpressionEx (   e,
  dtype 
)
Value:
/* (multi line FreeBasic #MACRO)
e = hMatchExpr( dtype )
if( e = NULL ) then
exit function
end if
#endmacro */

Definition at line 904 of file parser.bi.

#define hMatchLPRNT ( )
Value:
/* (multi line FreeBasic #MACRO)
if( lexGetToken( ) <> CHAR_LPRNT ) then
errReport( FB_ERRMSG_EXPECTEDLPRNT )
else
lexSkipToken( )
end if
#endmacro */

Definition at line 868 of file parser.bi.

#define hMatchRPRNT ( )
Value:
/* (multi line FreeBasic #MACRO)
if( lexGetToken( ) <> CHAR_RPRNT ) then
errReport( FB_ERRMSG_EXPECTEDRPRNT )
hSkipUntil( CHAR_RPRNT, TRUE )
else
lexSkipToken( )
end if
#endmacro */

Definition at line 877 of file parser.bi.

#define hSkipStmt ( )
Value:
/* _
hSkipUntil( INVALID, FALSE ) */

Definition at line 864 of file parser.bi.

Typedef Documentation

typedef struct FB_CMPSTMTSTK FB_CMPSTMTSTK_

Definition at line 22 of file parser.bi.

Enumeration Type Documentation

Enumerator
FB_CMPSTMT_MASK_NOTHING 
FB_CMPSTMT_MASK_CODE 
FB_CMPSTMT_MASK_PROC 
FB_CMPSTMT_MASK_NAMESPC 
FB_CMPSTMT_MASK_DECL 
FB_CMPSTMT_MASK_EXTERN 
FB_CMPSTMT_MASK_DATA 
FB_CMPSTMT_MASK_ALL 
FB_CMPSTMT_MASK_DEFAULT 

Definition at line 9 of file parser.bi.

enum FB_IDOPT
Enumerator
FB_IDOPT_NONE 
FB_IDOPT_DONTCHKPERIOD 
FB_IDOPT_SHOWERROR 
FB_IDOPT_ISDECL 
FB_IDOPT_ISOPERATOR 
FB_IDOPT_ALLOWSTRUCT 
FB_IDOPT_CHECKSTATIC 
FB_IDOPT_ISVAR 
FB_IDOPT_DEFAULT 

Definition at line 202 of file parser.bi.

enum FB_INIOPT
Enumerator
FB_INIOPT_NONE 
FB_INIOPT_ISINI 
FB_INIOPT_DODEREF 
FB_INIOPT_ISOBJ 

Definition at line 217 of file parser.bi.

Enumerator
FB_PARSEROPT_NONE 
FB_PARSEROPT_PRNTOPT 
FB_PARSEROPT_CHKARRAY 
FB_PARSEROPT_ISEXPR 
FB_PARSEROPT_ISSCOPE 
FB_PARSEROPT_ISFUNC 
FB_PARSEROPT_OPTONLY 
FB_PARSEROPT_HASINSTPTR 
FB_PARSEROPT_ISPROPGET 
FB_PARSEROPT_EQINPARENSONLY 
FB_PARSEROPT_GTINPARENSONLY 
FB_PARSEROPT_ISPP 
FB_PARSEROPT_EXPLICITBASE 

Definition at line 152 of file parser.bi.

enum FB_PROCOPT
Enumerator
FB_PROCOPT_NONE 
FB_PROCOPT_ISPROTO 
FB_PROCOPT_HASPARENT 

Definition at line 226 of file parser.bi.

Enumerator
FB_SYMBTYPEOPT_NONE 
FB_SYMBTYPEOPT_CHECKSTRPTR 
FB_SYMBTYPEOPT_ALLOWFORWARD 
FB_SYMBTYPEOPT_DEFAULT 

Definition at line 192 of file parser.bi.

Enumerator
FB_VAREXPROPT_NONE 
FB_VAREXPROPT_NOARRAYCHECK 
FB_VAREXPROPT_ALLOWADDROF 
FB_VAREXPROPT_ISEXPR 
FB_VAREXPROPT_ISASSIGN 

Definition at line 233 of file parser.bi.

Function Documentation

function_as_ASTNODE_ptr cAddExpression ( )

Definition at line 441 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cAddrOfExpression ( )

Definition at line 552 of file parser-expr-unary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_zstring_ptr cAliasAttribute ( )

Definition at line 13 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cAnonType ( )

Definition at line 140 of file parser-quirk-casting.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cArrayDecl ( byref_as_integer  dimensions,
as_ASTNODE_ptr  exprTB[+1] 
)

Definition at line 1775 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cArrayFunct ( byval_as_FB_TOKEN  tk)

Definition at line 225 of file parser-quirk-array.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cAsmBlock ( )

Definition at line 182 of file parser-inlineasm.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cAssignFunctResult ( byval_as_integer  is_return)

Definition at line 32 of file parser-proccall.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cAssignment ( byval_as_ASTNODE_ptr  assgexpr)

Definition at line 159 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cAssignmentOrPtrCall ( )

Definition at line 363 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cAssignmentOrPtrCallEx ( byval_as_ASTNODE_ptr  expr)

Definition at line 224 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cAssignToken ( )

Definition at line 34 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cAtom ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMCHAIN_ptr  chain_ 
)

Definition at line 427 of file parser-expr-atom.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cAutoVarDecl ( byval_as_FB_SYMBATTRIB  attrib)

Definition at line 1835 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cBoolExpression ( )

Definition at line 49 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_PARAMMODE cBydescArrayArgParens ( byval_as_ASTNODE_ptr  arg)

Definition at line 17 of file parser-proccall.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cByrefAttribute ( byref_as_integer  attrib,
byval_as_integer  is_func 
)

Definition at line 616 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cCatExpression ( )

Definition at line 394 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cColorStmt ( byval_as_integer  isfunc)

Definition at line 148 of file parser-quirk-console.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cComment ( byval_as_LEXCHECK  lexflags = LEXCHECK_EVERYTHING)

Definition at line 190 of file parser-comment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cCompoundStmt ( )

Definition at line 53 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cCompStmtCheck ( )

Definition at line 497 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_CMPSTMTSTK_ptr cCompStmtGetTOS ( byval_as_FB_TOKEN  forid,
byval_as_integer  showerror = TRUE 
)

Definition at line 603 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cCompStmtIsAllowed ( byval_as_FB_CMPSTMT_MASK  allowmask)

Definition at line 699 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cCompStmtPop ( byval_as_FB_CMPSTMTSTK_ptr  stk)

Definition at line 670 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_CMPSTMTSTK_ptr cCompStmtPush ( byval_as_FB_TOKEN  id,
byval_as_FB_CMPSTMT_MASK  allowmask = FB_CMPSTMT_MASK_DEFAULT 
)

Definition at line 560 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cConstant ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 10 of file parser-expr-constant.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cConstDecl ( byval_as_integer  attrib)

Definition at line 222 of file parser-decl-const.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_longint cConstIntExpr ( byval_as_ASTNODE_ptr  expr,
byval_as_longint  defaultvalue = 0 
)

Definition at line 13 of file parser-decl-symbtype.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cContinueStatement ( )

Definition at line 370 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cCtorCall ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 175 of file parser-expr-function.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cCurrentParentId ( )

Definition at line 472 of file parser-identifier.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cCVXFunct ( byval_as_FB_TOKEN  tk)

Definition at line 333 of file parser-quirk-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cDataStmt ( byval_as_FB_TOKEN  tk)

Definition at line 18 of file parser-quirk-data.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cDeclaration ( )

Definition at line 14 of file parser-decl.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cDefDecl ( )

Definition at line 10 of file parser-decl-def.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cDerefExpression ( )

Definition at line 408 of file parser-expr-unary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cDoStmtBegin ( )

Definition at line 11 of file parser-compound-do.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cDoStmtEnd ( )

Definition at line 75 of file parser-compound-do.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cEndStatement ( )

Definition at line 140 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cEnumConstant ( byval_as_FBSYMBOL_ptr  sym)
sub cEnumDecl ( byval_as_integer  attrib)

Definition at line 143 of file parser-decl-enum.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cEqInParensOnlyExpr ( )

Definition at line 19 of file parser-expr-atom.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cEraseStmt ( )

Definition at line 13 of file parser-quirk-array.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cErrorFunct ( )

Definition at line 48 of file parser-quirk-error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cErrorStmt ( )

Definition at line 13 of file parser-quirk-error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cErrSetStmt ( )

Definition at line 28 of file parser-quirk-error.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cExitStatement ( )

Definition at line 184 of file parser-compound.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cExpExpression ( )

Definition at line 692 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cExpression ( )

Definition at line 31 of file parser-expr-binary.bas.

Here is the call graph for this function:

sub cExternStmtBegin ( )

Definition at line 10 of file parser-compound-extern.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cExternStmtEnd ( )

Definition at line 77 of file parser-compound-extern.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cFileFunct ( byval_as_FB_TOKEN  tk)

Definition at line 1233 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cFileStmt ( byval_as_FB_TOKEN  tk)

Definition at line 1139 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cForStmtBegin ( )

Definition at line 703 of file parser-compound-for.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cForStmtEnd ( )

Definition at line 973 of file parser-compound-for.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cFuncPtrOrMemberDeref ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype,
byval_as_ASTNODE_ptr  varexpr,
byval_as_integer  isfuncptr,
byval_as_integer  checkarray 
)

Definition at line 726 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cFunctionCall ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMBOL_ptr  sym,
byval_as_ASTNODE_ptr  ptrexpr,
byval_as_ASTNODE_ptr  thisexpr = NULL,
byval_as_FB_PARSEROPT  options = 0 
)

Definition at line 24 of file parser-expr-function.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cFunctionEx ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMBOL_ptr  sym,
byval_as_FB_PARSEROPT  options = 0 
)

Definition at line 130 of file parser-expr-function.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cGfxFunct ( byval_as_FB_TOKEN  tk)

Definition at line 1340 of file parser-quirk-gfx.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cGfxStmt ( byval_as_FB_TOKEN  tk)

Definition at line 1262 of file parser-quirk-gfx.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cGotoStmt ( byval_as_FB_TOKEN  tk)

Definition at line 150 of file parser-quirk-goto-return.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cGtInParensOnlyExpr ( )

Definition at line 38 of file parser-expr-atom.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cHighestPrecExpr ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMCHAIN_ptr  chain_ 
)

Definition at line 208 of file parser-expr-unary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMCHAIN_ptr cIdentifier ( byref_as_FBSYMBOL_ptr  base_parent,
byval_as_FB_IDOPT  options = FB_IDOPT_DEFAULT 
)

Definition at line 153 of file parser-identifier.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cIfStmtBegin ( )

Definition at line 102 of file parser-compound-if.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cIfStmtEnd ( )

Definition at line 279 of file parser-compound-if.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cIfStmtNext ( )

Definition at line 182 of file parser-compound-if.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cIIFFunct ( )

Definition at line 12 of file parser-quirk-iif.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cImplicitDataMember ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMCHAIN_ptr  chain_,
byval_as_integer  checkarray,
byval_as_FB_PARSEROPT  options 
)

Definition at line 1474 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cInitializer ( byval_as_FBSYMBOL_ptr  s,
byval_as_FB_INIOPT  options 
)

Definition at line 597 of file parser-decl-symb-init.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cInputStmt ( )

Definition at line 360 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cIntDivExpression ( )

Definition at line 594 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cLabel ( )

Definition at line 15 of file parser-label.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cLibAttribute ( )

Definition at line 35 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cLineInputStmt ( )

Definition at line 266 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cLogExpression ( )

Definition at line 99 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cLRSetStmt ( byval_as_FB_TOKEN  tk)

Definition at line 63 of file parser-quirk-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMathFunct ( byval_as_FB_TOKEN  tk,
byval_as_integer  isasm 
)

Definition at line 179 of file parser-quirk-math.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMemberAccess ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype,
byval_as_ASTNODE_ptr  expr 
)

Definition at line 435 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMemberDeref ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype,
byval_as_ASTNODE_ptr  varexpr,
byval_as_integer  checkarray 
)

Definition at line 506 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cMethodAttributes ( byval_as_FBSYMBOL_ptr  parent,
byref_as_integer  attrib 
)

Definition at line 58 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMethodCall ( byval_as_FBSYMBOL_ptr  sym,
byval_as_ASTNODE_ptr  thisexpr,
byval_as_FB_PARSEROPT  options 
)

Definition at line 145 of file parser-expr-function.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cMidStmt ( )

Definition at line 13 of file parser-quirk-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMKXFunct ( byval_as_FB_TOKEN  tk)

Definition at line 499 of file parser-quirk-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cModExpression ( )

Definition at line 548 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cMultExpression ( )

Definition at line 640 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cNamespaceStmtBegin ( )

Definition at line 29 of file parser-compound-namespace.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cNamespaceStmtEnd ( )

Definition at line 165 of file parser-compound-namespace.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cNegNotExpression ( )

Definition at line 48 of file parser-expr-unary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cNumLiteral ( byval_as_integer  skiptoken = TRUE)

Definition at line 110 of file parser-expr-constant.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cOnStmt ( )

Definition at line 118 of file parser-quirk-on.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cOperator ( byval_as_integer  is_overload)

Definition at line 43 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cOperatorDelete ( )

Definition at line 205 of file parser-quirk-mem.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cOperatorNew ( )

Definition at line 15 of file parser-quirk-mem.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cOptDecl ( )

Definition at line 12 of file parser-decl-option.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cParameters ( byval_as_FBSYMBOL_ptr  parent,
byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  procmode,
byval_as_integer  isproto 
)

Definition at line 27 of file parser-decl-proc-params.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cParentExpression ( )

Definition at line 59 of file parser-expr-atom.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr cParentId ( byval_as_FB_IDOPT  options = FB_IDOPT_NONE)

Definition at line 346 of file parser-identifier.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cPeekFunct ( )

Definition at line 110 of file parser-quirk-peekpoke.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cPokeStmt ( )

Definition at line 57 of file parser-quirk-peekpoke.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cPrintStmt ( byval_as_FB_TOKEN  tk)

Definition at line 15 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cProcArgList ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMBOL_ptr  proc,
byval_as_ASTNODE_ptr  ptrexpr,
byval_as_FB_CALL_ARG_LIST_ptr  arg_list,
byval_as_FB_PARSEROPT  options 
)

Definition at line 454 of file parser-proccall-args.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cProcCall ( byval_as_FBSYMBOL_ptr  base_parent,
byval_as_FBSYMBOL_ptr  sym,
byval_as_ASTNODE_ptr  ptrexpr,
byval_as_ASTNODE_ptr  thisexpr = NULL,
byval_as_integer  checkprnts = FALSE,
byval_as_FB_PARSEROPT  options = 0 
)

Definition at line 184 of file parser-proccall.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_FUNCMODE cProcCallingConv ( byval_as_FB_FUNCMODE  default = FB_FUNCMODE_FBCALL)

Definition at line 549 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cProcCallOrAssign ( )

Definition at line 747 of file parser-proccall.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cProcDecl ( )

Definition at line 11 of file parser-decl-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr cProcHeader ( byval_as_FB_SYMBATTRIB  attrib,
byref_as_integer  is_nested,
byval_as_FB_PROCOPT  options,
byval_as_integer  tk 
)

Definition at line 1062 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cProcRetType ( byval_as_integer  attrib,
byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  is_proto,
byref_as_integer  dtype,
byref_as_FBSYMBOL_ptr  subtype 
)

Definition at line 390 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_PROC_RETURN_METHOD cProcReturnMethod ( byval_as_FB_DATATYPE  dtype)

Definition at line 521 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cProcStmtBegin ( byval_as_integer  attrib = 0)

Definition at line 1688 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cProcStmtEnd ( )

Definition at line 1778 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cProgram ( )

Definition at line 105 of file parser-toplevel.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cQuirkFunction ( byval_as_FBSYMBOL_ptr  sym)

Definition at line 149 of file parser-quirk.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cQuirkStmt ( byval_as_FB_TOKEN  tk = INVALID)

Definition at line 27 of file parser-quirk.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cRelExpression ( )

Definition at line 248 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cScopeStmtBegin ( )

Definition at line 11 of file parser-compound-scope.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cScopeStmtEnd ( )

Definition at line 41 of file parser-compound-scope.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cScreenFunct ( )

Definition at line 197 of file parser-quirk-console.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelConstStmtBegin ( )

Definition at line 32 of file parser-compound-select-const.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelConstStmtEnd ( byval_as_FB_CMPSTMTSTK_ptr  stk)

Definition at line 287 of file parser-compound-select-const.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelConstStmtNext ( byval_as_FB_CMPSTMTSTK_ptr  stk)

Definition at line 172 of file parser-compound-select-const.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelectStmtBegin ( )

Definition at line 44 of file parser-compound-select.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelectStmtEnd ( )

Definition at line 401 of file parser-compound-select.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cSelectStmtNext ( )

Definition at line 293 of file parser-compound-select.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cShiftExpression ( )

Definition at line 496 of file parser-expr-binary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cStatement ( )

Definition at line 19 of file parser-statement.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cStaticArrayDecl ( byref_as_integer  dimensions,
as_FBARRAYDIM  dTB[+1],
byval_as_integer  checkprnts[+1] = TRUE,
byval_as_integer  allow_ellipsis[+1] = TRUE 
)

Definition at line 1635 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cStmtSeparator ( byval_as_LEXCHECK  lexflags = LEXCHECK_EVERYTHING)

Definition at line 50 of file parser-statement.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cStrIdxOrMemberDeref ( byval_as_ASTNODE_ptr  expr)

Definition at line 128 of file parser-expr-unary.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cStringFunct ( byval_as_FB_TOKEN  tk)

Definition at line 628 of file parser-quirk-string.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cStrLiteral ( byval_as_integer  skiptoken = TRUE)

Definition at line 25 of file parser-expr-constant.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cSwapStmt ( )

Definition at line 91 of file parser-quirk-array.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cSymbolType ( byref_as_integer  dtype,
byref_as_FBSYMBOL_ptr  subtype,
byref_as_longint  lgt,
byval_as_FB_SYMBTYPEOPT  options = FB_SYMBTYPEOPT_DEFAULT 
)

Definition at line 226 of file parser-decl-symbtype.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cThreadCallFunc ( )

Definition at line 15 of file parser-quirk-thread.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cTypeConvExpr ( byval_as_FB_TOKEN  tk,
byval_as_integer  isASM = FALSE 
)

Definition at line 15 of file parser-quirk-casting.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cTypeDecl ( byval_as_integer  attrib)

Definition at line 819 of file parser-decl-struct.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cTypedefMultDecl ( )

Definition at line 231 of file parser-decl-typedef.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cTypedefSingleDecl ( byval_as_zstring_ptr  pid)

Definition at line 264 of file parser-decl-typedef.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cTypeOf ( byref_as_integer  dtype,
byref_as_FBSYMBOL_ptr  subtype,
byref_as_longint  lgt 
)

Definition at line 152 of file parser-decl-symbtype.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cTypeOrExpression ( byval_as_integer  is_len,
byref_as_integer  dtype,
byref_as_FBSYMBOL_ptr  subtype,
byref_as_longint  lgt 
)

Definition at line 78 of file parser-decl-symbtype.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cUdtMember ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype,
byval_as_ASTNODE_ptr  varexpr,
byval_as_integer  check_array,
byval_as_FB_PARSEROPT  options = 0 
)

Definition at line 305 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cUsingStmt ( )

Definition at line 208 of file parser-compound-namespace.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cVAFunct ( )

Definition at line 14 of file parser-quirk-vafirst.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FBSYMBOL_ptr cVarDecl ( byval_as_integer  attrib,
byval_as_integer  dopreserve,
byval_as_integer  token,
byval_as_integer  is_fordecl 
)

Definition at line 1173 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cVariable ( byval_as_FBSYMCHAIN_ptr  chain,
byval_as_integer  checkarray = TRUE 
)

Definition at line 1445 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cVariableDecl ( byval_as_FB_SYMBATTRIB  attrib = FB_SYMBATTRIB_NONE)

Definition at line 71 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cVariableEx ( byval_as_FBSYMBOL_ptr  sym,
byval_as_integer  check_array 
)

Definition at line 1130 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cVariableEx ( byval_as_FBSYMCHAIN_ptr  chain,
byval_as_integer  checkarray 
)

Definition at line 1299 of file parser-expr-variable.bas.

Here is the call graph for this function:

function_as_ASTNODE_ptr cVarOrDeref ( byval_as_FB_VAREXPROPT  options = FB_VAREXPROPT_NONE)

Definition at line 1504 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cViewStmt ( byval_as_integer  is_func)

Definition at line 15 of file parser-quirk-console.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cWhileStmtBegin ( )

Definition at line 14 of file parser-compound-while.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cWhileStmtEnd ( )

Definition at line 53 of file parser-compound-while.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cWidthStmt ( byval_as_integer  isfunc)

Definition at line 63 of file parser-quirk-console.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cWithStmtBegin ( )

Definition at line 12 of file parser-compound-with.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub cWithStmtEnd ( )

Definition at line 74 of file parser-compound-with.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr cWithVariable ( byval_as_integer  checkarray)

Definition at line 1424 of file parser-expr-variable.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cWriteStmt ( )

Definition at line 200 of file parser-quirk-file.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer hCheckForDefiniteExprs ( )
function_as_integer hCheckForDefiniteTypes ( )
function_as_integer hCheckScope ( )

Definition at line 53 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hComplainIfAbstractClass ( byval_as_integer  dtype,
byval_as_FBSYMBOL_ptr  subtype 
)

Definition at line 13 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hDisallowAbstractDtor ( byref_as_integer  attrib)

Definition at line 1664 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hDisallowConstCtorDtor ( byval_as_integer  tk,
byref_as_integer  attrib 
)

Definition at line 1673 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hDisallowStaticAttrib ( byref_as_integer  attrib)

Definition at line 1644 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hDisallowVirtualCtor ( byref_as_integer  attrib)

Definition at line 1651 of file parser-proc.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_FB_DATATYPE hIntegerTypeFromBitSize ( byval_as_longint  bitsize,
byval_as_integer  is_unsigned = FALSE 
)

Definition at line 183 of file parser-decl-symbtype.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer hIsAssignToken ( )

Definition at line 25 of file parser-assignment.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_ASTNODE_ptr hMatchExpr ( byval_as_integer  dtype)

Definition at line 319 of file parser-toplevel.bas.

Here is the call graph for this function:

sub hMethodCallAddInstPtrOvlArg ( byval_as_FBSYMBOL_ptr  proc,
byval_as_ASTNODE_ptr  thisexpr,
byval_as_FB_CALL_ARG_LIST_ptr  arg_list,
byval_as_FB_PARSEROPT_ptr  options 
)

Definition at line 150 of file parser-proccall.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hSkipCompound ( byval_as_integer  for_token,
byval_as_integer  until_token = INVALID,
byval_as_LEXCHECK  flags = LEXCHECK_EVERYTHING 
)

Definition at line 263 of file parser-toplevel.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub hSkipUntil ( byval_as_integer  token,
byval_as_integer  doeat = FALSE,
byval_as_LEXCHECK  flags = LEXCHECK_EVERYTHING,
byval_as_integer  stop_on_comma = FALSE 
)

Definition at line 174 of file parser-toplevel.bas.

Here is the call graph for this function:

sub hSymbolType ( byref_as_integer  dtype,
byref_as_FBSYMBOL_ptr  subtype,
byref_as_longint  lgt 
)

Definition at line 27 of file parser-decl-var.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

PARSERCTX parser

Definition at line 889 of file objinfo.bas.