FreeBASIC
0.91.0
|
#include "fb.bi"
#include "fbint.bi"
#include "lex.bi"
#include "parser.bi"
#include "ir.bi"
#include "ast.bi"
#include "emit.bi"
Go to the source code of this file.
Data Structures | |
class | NameInfo |
Functions | |
function_as_ASTNODE_ptr | astNewLABEL (byval_as_FBSYMBOL_ptr sym, byval_as_integer doflush) |
function_as_IRVREG_ptr | astLoadLABEL (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewLIT (byval_as_zstring_ptr text) |
function_as_IRVREG_ptr | astLoadLIT (byval_as_ASTNODE_ptr n) |
private function_as_ASTASMTOK_ptr | astAsmAppend (byval_as_ASTASMTOK_ptr tail, byval_as_integer typ) |
function_as_ASTASMTOK_ptr | astAsmAppendText (byval_as_ASTASMTOK_ptr tail, byval_as_zstring_ptr text) |
function_as_ASTASMTOK_ptr | astAsmAppendSymb (byval_as_ASTASMTOK_ptr tail, byval_as_FBSYMBOL_ptr sym) |
function_as_ASTNODE_ptr | astNewASM (byval_as_ASTASMTOK_ptr asmtokhead) |
function_as_IRVREG_ptr | astLoadASM (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewDBG (byval_as_integer op, byval_as_integer ex) |
function_as_IRVREG_ptr | astLoadDBG (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewNOP () |
function_as_IRVREG_ptr | astLoadNOP (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewNIDXARRAY (byval_as_ASTNODE_ptr expr) |
function_as_IRVREG_ptr | astLoadNIDXARRAY (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewLINK (byval_as_ASTNODE_ptr l, byval_as_ASTNODE_ptr r, byval_as_integer ret_left) |
function_as_IRVREG_ptr | astLoadLINK (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewLOAD (byval_as_ASTNODE_ptr l, byval_as_integer dtype, byval_as_integer isresult) |
function_as_IRVREG_ptr | astLoadLOAD (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewFIELD (byval_as_ASTNODE_ptr l, byval_as_FBSYMBOL_ptr sym) |
sub | astForgetBitfields (byval_as_ASTNODE_ptr n) |
private function_as_ASTNODE_ptr | astSetBitfield (byval_as_ASTNODE_ptr l, byval_as_ASTNODE_ptr r) |
private function_as_ASTNODE_ptr | astAccessBitfield (byval_as_ASTNODE_ptr l) |
function_as_integer | astCountBitfields (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astUpdateBitfields (byval_as_ASTNODE_ptr n) |
function_as_IRVREG_ptr | astLoadFIELD (byval_as_ASTNODE_ptr n) |
function_as_ASTNODE_ptr | astNewSTACK (byval_as_integer op, byval_as_ASTNODE_ptr l) |
function_as_IRVREG_ptr | astLoadSTACK (byval_as_ASTNODE_ptr n) |
private sub | dbg_astOutput (byref_as_string s, byval_as_integer col, byval_as_integer just, byval_as_integer depth=-1) |
function_as_string | astDumpOp (byval_as_AST_OP op) |
private function_as_string | hAstNodeClassToStr (byval_as_AST_NODECLASS c) |
private function_as_string | hSymbToStr (byval_as_FBSYMBOL_ptr s) |
private function_as_string | hAstNodeToStr (byval_as_ASTNODE_ptr n) |
private sub | astDumpTreeEx (byval_as_ASTNODE_ptr n, byval_as_integer col, byval_as_integer just, byval_as_integer depth) |
sub | astDumpTree (byval_as_ASTNODE_ptr n, byval_as_integer col) |
sub | astDumpList (byval_as_ASTNODE_ptr n, byval_as_integer col) |
function_as_string | astDumpInline (byval_as_ASTNODE_ptr n) |
Variables | |
NameInfo | dbg_astNodeClassNames [toAST_CLASSES+1] = |
NameInfo | dbg_astNodeOpNames [toAST_OPCODES+1] = |
private function_as_ASTNODE_ptr astAccessBitfield | ( | byval_as_ASTNODE_ptr | l) |
Definition at line 411 of file ast-node-misc.bas.
private function_as_ASTASMTOK_ptr astAsmAppend | ( | byval_as_ASTASMTOK_ptr | tail, |
byval_as_integer | typ | ||
) |
Definition at line 74 of file ast-node-misc.bas.
function_as_ASTASMTOK_ptr astAsmAppendSymb | ( | byval_as_ASTASMTOK_ptr | tail, |
byval_as_FBSYMBOL_ptr | sym | ||
) |
Definition at line 107 of file ast-node-misc.bas.
function_as_ASTASMTOK_ptr astAsmAppendText | ( | byval_as_ASTASMTOK_ptr | tail, |
byval_as_zstring_ptr | text | ||
) |
Definition at line 93 of file ast-node-misc.bas.
function_as_integer astCountBitfields | ( | byval_as_ASTNODE_ptr | n) |
function_as_string astDumpInline | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 932 of file ast-node-misc.bas.
sub astDumpList | ( | byval_as_ASTNODE_ptr | n, |
byval_as_integer | col | ||
) |
function_as_string astDumpOp | ( | byval_as_AST_OP | op) |
sub astDumpTree | ( | byval_as_ASTNODE_ptr | n, |
byval_as_integer | col | ||
) |
Definition at line 908 of file ast-node-misc.bas.
private sub astDumpTreeEx | ( | byval_as_ASTNODE_ptr | n, |
byval_as_integer | col, | ||
byval_as_integer | just, | ||
byval_as_integer | depth | ||
) |
Definition at line 861 of file ast-node-misc.bas.
sub astForgetBitfields | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 351 of file ast-node-misc.bas.
function_as_IRVREG_ptr astLoadASM | ( | byval_as_ASTNODE_ptr | n) |
function_as_IRVREG_ptr astLoadDBG | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 185 of file ast-node-misc.bas.
function_as_IRVREG_ptr astLoadFIELD | ( | byval_as_ASTNODE_ptr | n) |
function_as_IRVREG_ptr astLoadLABEL | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 39 of file ast-node-misc.bas.
function_as_IRVREG_ptr astLoadLINK | ( | byval_as_ASTNODE_ptr | n) |
function_as_IRVREG_ptr astLoadLIT | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 63 of file ast-node-misc.bas.
function_as_IRVREG_ptr astLoadLOAD | ( | byval_as_ASTNODE_ptr | n) |
function_as_IRVREG_ptr astLoadNIDXARRAY | ( | byval_as_ASTNODE_ptr | n) |
function_as_IRVREG_ptr astLoadNOP | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 202 of file ast-node-misc.bas.
function_as_IRVREG_ptr astLoadSTACK | ( | byval_as_ASTNODE_ptr | n) |
function_as_ASTNODE_ptr astNewASM | ( | byval_as_ASTASMTOK_ptr | asmtokhead) |
Definition at line 120 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewDBG | ( | byval_as_integer | op, |
byval_as_integer | ex | ||
) |
Definition at line 166 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewFIELD | ( | byval_as_ASTNODE_ptr | l, |
byval_as_FBSYMBOL_ptr | sym | ||
) |
Definition at line 317 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewLABEL | ( | byval_as_FBSYMBOL_ptr | sym, |
byval_as_integer | doflush | ||
) |
Definition at line 16 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewLINK | ( | byval_as_ASTNODE_ptr | l, |
byval_as_ASTNODE_ptr | r, | ||
byval_as_integer | ret_left | ||
) |
Definition at line 225 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewLIT | ( | byval_as_zstring_ptr | text) |
Definition at line 52 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewLOAD | ( | byval_as_ASTNODE_ptr | l, |
byval_as_integer | dtype, | ||
byval_as_integer | isresult | ||
) |
Definition at line 272 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewNIDXARRAY | ( | byval_as_ASTNODE_ptr | expr) |
Definition at line 208 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewNOP | ( | ) |
Definition at line 194 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astNewSTACK | ( | byval_as_integer | op, |
byval_as_ASTNODE_ptr | l | ||
) |
Definition at line 526 of file ast-node-misc.bas.
private function_as_ASTNODE_ptr astSetBitfield | ( | byval_as_ASTNODE_ptr | l, |
byval_as_ASTNODE_ptr | r | ||
) |
Definition at line 365 of file ast-node-misc.bas.
function_as_ASTNODE_ptr astUpdateBitfields | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 459 of file ast-node-misc.bas.
private sub dbg_astOutput | ( | byref_as_string | s, |
byval_as_integer | col, | ||
byval_as_integer | just, | ||
byval_as_integer | depth = -1 |
||
) |
private function_as_string hAstNodeClassToStr | ( | byval_as_AST_NODECLASS | c) |
private function_as_string hAstNodeToStr | ( | byval_as_ASTNODE_ptr | n) |
Definition at line 815 of file ast-node-misc.bas.
private function_as_string hSymbToStr | ( | byval_as_FBSYMBOL_ptr | s) |
NameInfo dbg_astNodeClassNames[toAST_CLASSES+1] = |
Definition at line 609 of file ast-node-misc.bas.
NameInfo dbg_astNodeOpNames[toAST_OPCODES+1] = |
Definition at line 658 of file ast-node-misc.bas.