FreeBASIC  0.91.0
parser-compound.bas File Reference
#include "fb.bi"
#include "fbint.bi"
#include "parser.bi"
#include "ast.bi"
#include "rtl.bi"
Include dependency graph for parser-compound.bas:

Go to the source code of this file.

Macros

#define CHECK_CODEMASK(for_tk, until_tk)
 
#define hExitError(errnum)
 

Functions

sub parserSelectStmtInit ()
 
sub parserSelectStmtEnd ()
 
sub parserSelConstStmtInit ()
 
sub parserSelConstStmtEnd ()
 
sub cCompoundEnd ()
 
sub parserCompoundStmtSetCtx ()
 
sub parserCompoundStmtInit ()
 
sub parserCompoundStmtEnd ()
 
function_as_integer cCompoundStmt (void)
 
sub cEndStatement ()
 
private function_as_integer hCheckForCtorResult ()
 
sub cExitStatement ()
 
sub cContinueStatement ()
 
function_as_integer cCompStmtCheck ()
 
function_as_FB_CMPSTMTSTK_ptr cCompStmtPush (byval_as_FB_TOKEN id, byval_as_FB_CMPSTMT_MASK allowmask)
 
function_as_FB_CMPSTMTSTK_ptr cCompStmtGetTOS (byval_as_FB_TOKEN forid, byval_as_integer showerror)
 
sub cCompStmtPop (byval_as_FB_CMPSTMTSTK_ptr stk)
 
function_as_integer cCompStmtIsAllowed (byval_as_FB_CMPSTMT_MASK allowmask)
 

Macro Definition Documentation

#define CHECK_CODEMASK (   for_tk,
  until_tk 
)
Value:
/* (multi line FreeBasic #MACRO)
if( cCompStmtIsAllowed( FB_CMPSTMT_MASK_CODE ) = FALSE ) then
hSkipCompound( for_tk, until_tk )
exit function
end if
#endmacro */

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

#define hExitError (   errnum)
Value:
/* (multi line FreeBasic #MACRO)
errReport( errnum )
'' error recovery: skip stmt
hSkipStmt( )
return
#endmacro */

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

Function Documentation

private sub cCompoundEnd ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_integer cCompoundStmt ( void  )

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 
)

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 
)

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:

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:

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:

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:

private function_as_integer hCheckForCtorResult ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

sub parserCompoundStmtEnd ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

sub parserCompoundStmtInit ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

sub parserCompoundStmtSetCtx ( )

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

Here is the caller graph for this function:

sub parserSelConstStmtEnd ( )

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

Here is the caller graph for this function:

sub parserSelConstStmtInit ( )

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

Here is the caller graph for this function:

sub parserSelectStmtEnd ( )

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

Here is the caller graph for this function:

sub parserSelectStmtInit ( )

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

Here is the caller graph for this function: