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

Go to the source code of this file.

Functions

function_as_zstring_ptr cAliasAttribute ()
 
sub cLibAttribute ()
 
sub cMethodAttributes (byval_as_FBSYMBOL_ptr parent, byref_as_integer attrib)
 
private sub hParamError (byval_as_FBSYMBOL_ptr proc, byval_as_integer argnum, byval_as_integer errnum=FB_ERRMSG_PARAMTYPEMISMATCHAT)
 
private function_as_integer hCheckPrototype (byval_as_FBSYMBOL_ptr proto, byval_as_FBSYMBOL_ptr proc, byval_as_zstring_ptr palias, byval_as_integer proc_dtype, byval_as_FBSYMBOL_ptr proc_subtype, byval_as_integer mode)
 
private sub hCheckAttribs (byval_as_FBSYMBOL_ptr proto, byval_as_FB_SYMBATTRIB attrib)
 
private function_as_integer hCheckIdToken (byval_as_integer has_parent)
 
private function_as_FBSYMBOL_ptr hGetId (byval_as_FBSYMBOL_ptr parent, byval_as_zstring_ptr id, byval_as_integer_ptr dtype, byval_as_integer is_sub)
 
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)
 
private sub hParseAttributes (byref_as_FB_SYMBATTRIB attrib, byval_as_FB_SYMBSTATS stats, byref_as_integer priority)
 
function_as_FB_PROC_RETURN_METHOD cProcReturnMethod (byval_as_FB_DATATYPE dtype)
 
function_as_FB_FUNCMODE cProcCallingConv (byval_as_FB_FUNCMODE default)
 
private sub cNakedAttribute (byref_as_integer attrib)
 
private sub cOverrideAttribute (byval_as_FBSYMBOL_ptr proc)
 
sub cByrefAttribute (byref_as_integer attrib, byval_as_integer is_func)
 
private sub hCheckAttrib (byref_as_integer attrib, byval_as_integer attr, byval_as_integer errmsg)
 
private function_as_integer hCheckOpOvlParams (byval_as_FBSYMBOL_ptr parent, byval_as_integer op, byval_as_FBSYMBOL_ptr proc)
 
private function_as_integer hCheckIsSelfCloneByval (byval_as_FBSYMBOL_ptr parent, byval_as_FBSYMBOL_ptr proc, byval_as_integer options)
 
private sub hCheckPropParams (byval_as_FBSYMBOL_ptr proc, byval_as_integer is_get)
 
private sub hSetUdtPropertyFlags (byval_as_FBSYMBOL_ptr parent, byval_as_integer is_indexed, byval_as_integer is_get)
 
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 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)
 
sub cProcStmtEnd ()
 

Function Documentation

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:

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:

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:

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:

private sub cNakedAttribute ( byref_as_integer  attrib)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private sub cOverrideAttribute ( byval_as_FBSYMBOL_ptr  proc)

Definition at line 598 of file parser-proc.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)

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_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)

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:

private sub hCheckAttrib ( byref_as_integer  attrib,
byval_as_integer  attr,
byval_as_integer  errmsg 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hCheckAttribs ( byval_as_FBSYMBOL_ptr  proto,
byval_as_FB_SYMBATTRIB  attrib 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hCheckIdToken ( byval_as_integer  has_parent)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hCheckIsSelfCloneByval ( byval_as_FBSYMBOL_ptr  parent,
byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  options 
)

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

Here is the caller graph for this function:

private function_as_integer hCheckOpOvlParams ( byval_as_FBSYMBOL_ptr  parent,
byval_as_integer  op,
byval_as_FBSYMBOL_ptr  proc 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hCheckPropParams ( byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  is_get 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private function_as_integer hCheckPrototype ( byval_as_FBSYMBOL_ptr  proto,
byval_as_FBSYMBOL_ptr  proc,
byval_as_zstring_ptr  palias,
byval_as_integer  proc_dtype,
byval_as_FBSYMBOL_ptr  proc_subtype,
byval_as_integer  mode 
)

Definition at line 122 of file parser-proc.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:

private function_as_FBSYMBOL_ptr hGetId ( byval_as_FBSYMBOL_ptr  parent,
byval_as_zstring_ptr  id,
byval_as_integer_ptr  dtype,
byval_as_integer  is_sub 
)

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

Here is the call graph for this function:

private sub hParamError ( byval_as_FBSYMBOL_ptr  proc,
byval_as_integer  argnum,
byval_as_integer  errnum = FB_ERRMSG_PARAMTYPEMISMATCHAT 
)

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

Here is the call graph for this function:

private sub hParseAttributes ( byref_as_FB_SYMBATTRIB  attrib,
byval_as_FB_SYMBSTATS  stats,
byref_as_integer  priority 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

private sub hSetUdtPropertyFlags ( byval_as_FBSYMBOL_ptr  parent,
byval_as_integer  is_indexed,
byval_as_integer  is_get 
)

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

Here is the caller graph for this function: