FreeBASIC
0.91.0
|
#include "fb.bi"
#include "fbint.bi"
#include "parser.bi"
#include "lex.bi"
#include "rtl.bi"
#include "ast.bi"
#include "ir.bi"
#include "objinfo.bi"
Go to the source code of this file.
Data Structures | |
class | FB_LANG_INFO |
class | FBCPUTYPEINFO |
Functions | |
sub | parserInit () |
sub | parserEnd () |
sub | parserSetCtx () |
private function_as_zstring_ptr | hFindIncFile (byval_as_THASH_ptr incfilehash, byval_as_zstring_ptr filename) |
private function_as_zstring_ptr | hAddIncFile (byval_as_THASH_ptr incfilehash, byval_as_zstring_ptr filename) |
function_as_FB_LANG_OPT | fbGetLangOptions (byval_as_FB_LANG lang) |
function_as_string | fbGetLangName (byval_as_FB_LANG lang) |
sub | fbInit (byval_as_integer ismain, byval_as_integer restarts) |
sub | fbEnd () |
private sub | hUpdateLangOptions () |
private sub | hUpdateTargetOptions () |
private sub | hUpdateBackendOptions () |
sub | fbGlobalInit () |
sub | fbAddIncludePath (byref_as_string path) |
sub | fbAddPreDefine (byref_as_string def) |
sub | fbAddPreInclude (byref_as_string file) |
sub | fbSetOption (byval_as_integer opt, byval_as_integer value) |
function_as_integer | fbGetOption (byval_as_integer opt) |
sub | fbChangeOption (byval_as_integer opt, byval_as_integer value) |
function_as_integer | fbIsCrossComp () |
function_as_zstring_ptr | fbGetTargetId () |
function_as_zstring_ptr | fbGetGccArch () |
function_as_zstring_ptr | fbGetFbcArch () |
function_as_integer | fbCpuTypeIs64bit () |
function_as_integer | fbCpuTypeIsX86 () |
function_as_integer | fbIdentifyFbcArch (byref_as_string fbcarch) |
function_as_string | fbGetEntryPoint () |
function_as_string | fbGetModuleEntry () |
function_as_string | fbGetInputFileParentDir () |
sub | fbAddLib (byval_as_zstring_ptr libname) |
sub | fbAddLibPath (byval_as_zstring_ptr path) |
private sub | fbParsePreDefines () |
private sub | fbParsePreIncludes () |
private sub | hAppendFbctinf (byval_as_zstring_ptr value) |
private sub | hEmitObjinfo () |
sub | fbCompile (byval_as_zstring_ptr infname, byval_as_zstring_ptr outfname, byref_as_string pponlyfile, byval_as_integer ismain) |
function_as_integer | fbShouldRestart () |
function_as_integer | fbShouldContinue () |
sub | fbSetLibs (byval_as_TSTRSET_ptr libs, byval_as_TSTRSET_ptr libpaths) |
sub | fbGetLibs (byval_as_TSTRSET_ptr libs, byval_as_TSTRSET_ptr libpaths) |
sub | fbPragmaOnce () |
private function_as_integer | is_rootpath (byref_as_zstring_ptr path) |
private function_as_integer | get_rootpath_len (byval_as_zstring_ptr path) |
private function_as_integer | solve_path (byval_as_zstring_ptr path) |
sub | fbIncludeFile (byval_as_zstring_ptr filename, byval_as_integer isonce) |
function_as_FB_LANG | fbGetLangId (byval_as_zstring_ptr txt) |
Variables | |
FBFILE | infileTb [+1] |
FB_LANG_INFO | langTb [toFB_LANGS+1] = |
FBTARGET | targetinfo [toFB_COMPTARGETS+1] = |
FBCPUTYPEINFO | cputypeinfo [toFB_CPUTYPE__COUNT+1] = |
sub fbAddIncludePath | ( | byref_as_string | path) |
sub fbAddLib | ( | byval_as_zstring_ptr | libname) |
sub fbAddLibPath | ( | byval_as_zstring_ptr | path) |
sub fbAddPreDefine | ( | byref_as_string | def) |
sub fbAddPreInclude | ( | byref_as_string | file) |
sub fbChangeOption | ( | byval_as_integer | opt, |
byval_as_integer | value | ||
) |
sub fbCompile | ( | byval_as_zstring_ptr | infname, |
byval_as_zstring_ptr | outfname, | ||
byref_as_string | pponlyfile, | ||
byval_as_integer | ismain | ||
) |
sub fbEnd | ( | ) |
function_as_string fbGetEntryPoint | ( | ) |
function_as_zstring_ptr fbGetFbcArch | ( | ) |
function_as_zstring_ptr fbGetGccArch | ( | ) |
function_as_string fbGetInputFileParentDir | ( | ) |
function_as_FB_LANG fbGetLangId | ( | byval_as_zstring_ptr | txt) |
function_as_string fbGetLangName | ( | byval_as_FB_LANG | lang) |
function_as_FB_LANG_OPT fbGetLangOptions | ( | byval_as_FB_LANG | lang) |
sub fbGetLibs | ( | byval_as_TSTRSET_ptr | libs, |
byval_as_TSTRSET_ptr | libpaths | ||
) |
function_as_string fbGetModuleEntry | ( | ) |
function_as_integer fbGetOption | ( | byval_as_integer | opt) |
function_as_zstring_ptr fbGetTargetId | ( | ) |
sub fbGlobalInit | ( | ) |
function_as_integer fbIdentifyFbcArch | ( | byref_as_string | fbcarch) |
sub fbIncludeFile | ( | byval_as_zstring_ptr | filename, |
byval_as_integer | isonce | ||
) |
sub fbInit | ( | byval_as_integer | ismain, |
byval_as_integer | restarts | ||
) |
function_as_integer fbIsCrossComp | ( | ) |
private sub fbParsePreDefines | ( | ) |
private sub fbParsePreIncludes | ( | ) |
sub fbPragmaOnce | ( | ) |
sub fbSetLibs | ( | byval_as_TSTRSET_ptr | libs, |
byval_as_TSTRSET_ptr | libpaths | ||
) |
sub fbSetOption | ( | byval_as_integer | opt, |
byval_as_integer | value | ||
) |
function_as_integer fbShouldContinue | ( | ) |
function_as_integer fbShouldRestart | ( | ) |
private function_as_integer get_rootpath_len | ( | byval_as_zstring_ptr | path) |
private function_as_zstring_ptr hAddIncFile | ( | byval_as_THASH_ptr | incfilehash, |
byval_as_zstring_ptr | filename | ||
) |
private sub hAppendFbctinf | ( | byval_as_zstring_ptr | value) |
private sub hEmitObjinfo | ( | ) |
private function_as_zstring_ptr hFindIncFile | ( | byval_as_THASH_ptr | incfilehash, |
byval_as_zstring_ptr | filename | ||
) |
private sub hUpdateBackendOptions | ( | ) |
private sub hUpdateLangOptions | ( | ) |
private sub hUpdateTargetOptions | ( | ) |
private function_as_integer is_rootpath | ( | byref_as_zstring_ptr | path) |
sub parserEnd | ( | ) |
Definition at line 67 of file parser-toplevel.bas.
sub parserInit | ( | ) |
Definition at line 56 of file parser-toplevel.bas.
sub parserSetCtx | ( | ) |
Definition at line 32 of file parser-toplevel.bas.
private function_as_integer solve_path | ( | byval_as_zstring_ptr | path) |
FBCPUTYPEINFO cputypeinfo[toFB_CPUTYPE__COUNT+1] = |
FB_LANG_INFO langTb[toFB_LANGS+1] = |