FreeBASIC
0.91.0
|
Go to the source code of this file.
Macros | |
#define | UPDATE_LINENUM() |
Functions | |
sub | lexReadUTF8 () |
sub | lexReadUTF16LE () |
sub | lexReadUTF16BE () |
sub | lexReadUTF32LE () |
sub | lexReadUTF32BE () |
sub | hMultiLineComment () |
sub | lexPushCtx () |
sub | lexPopCtx () |
sub | lexInit (byval_as_integer isinclude) |
sub | lexEnd () |
private sub | hCollectCharForDebugOutput (byval_as_uinteger char) |
private function_as_uinteger | hReadChar () |
function_as_uinteger | lexEatChar () |
private sub | hSkipChar (void) |
function_as_uinteger | lexCurrentChar (byval_as_integer skipwhitespc=FALSE) |
function_as_uinteger | lexGetLookAheadChar (byval_as_integer skipwhitespc=FALSE) |
private sub | hReadIdentifier (byval_as_zstring_ptr pid, byref_as_integer tlen, byref_as_integer dtype, byval_as_LEXCHECK flags) |
private function_as_ulongint | hReadNonDecNumber (byref_as_zstring_ptr pnum, byref_as_integer tlen, byref_as_integer dtype, byval_as_LEXCHECK flags) |
private sub | hReadFloatNumber (byref_as_zstring_ptr pnum, byref_as_integer tlen, byref_as_integer dtype, byval_as_integer hasdot, byval_as_LEXCHECK flags) |
private sub | hReadNumber (byval_as_zstring_ptr pnum, byref_as_integer dtype, byref_as_integer tlen, byval_as_LEXCHECK flags) |
private sub | hReadString (byval_as_FBTOKEN_ptr tk, byval_as_zstring_ptr ps, byval_as_LEXCHECK flags) |
private sub | hReadWStr (byval_as_FBTOKEN_ptr tk, byval_as_wstring_ptr ps, byval_as_LEXCHECK flags) |
private sub | hCheckPeriods (byval_as_FBTOKEN_ptr t, byval_as_LEXCHECK flags, byval_as_FBSYMCHAIN_ptr chain_) |
sub | lexNextToken (byval_as_FBTOKEN_ptr t, byval_as_LEXCHECK flags) |
function_as_integer | lexGetToken (byval_as_LEXCHECK flags) |
function_as_integer | lexGetClass (byval_as_LEXCHECK flags) |
function_as_integer | lexGetLookAhead (byval_as_integer k, byval_as_LEXCHECK flags) |
function_as_integer | lexGetLookAheadClass (byval_as_integer k, byval_as_LEXCHECK flags) |
private sub | hMoveKDown () |
private function_as_string | lexGetStrLitText (byval_as_integer tk) |
sub | lexPPOnlyEmitToken () |
sub | lexPPOnlyEmitText (byref_as_string s) |
sub | lexSkipToken (byval_as_LEXCHECK flags) |
sub | lexEatToken (byval_as_zstring_ptr token, byval_as_LEXCHECK flags) |
function_as_zstring_ptr | lexGetText () |
sub | lexReadLine (byval_as_uinteger endchar=INVALID, byval_as_zstring_ptr dst=INVALID, byval_as_integer skipline=FALSE) |
sub | lexSkipLine () |
function_as_string | lexPeekCurrentLine (byref_as_string token_pos, byval_as_integer do_trim) |
Variables | |
const uinteger | UINVALID = cuint( INVALID ) |
LEX_CTX | lex |
string | pponly_ln |
#define UPDATE_LINENUM | ( | ) |
private sub hCheckPeriods | ( | byval_as_FBTOKEN_ptr | t, |
byval_as_LEXCHECK | flags, | ||
byval_as_FBSYMCHAIN_ptr | chain_ | ||
) |
private sub hCollectCharForDebugOutput | ( | byval_as_uinteger | char) |
private sub hMoveKDown | ( | ) |
private sub hMultiLineComment | ( | ) |
private function_as_uinteger hReadChar | ( | ) |
private sub hReadFloatNumber | ( | byref_as_zstring_ptr | pnum, |
byref_as_integer | tlen, | ||
byref_as_integer | dtype, | ||
byval_as_integer | hasdot, | ||
byval_as_LEXCHECK | flags | ||
) |
private sub hReadIdentifier | ( | byval_as_zstring_ptr | pid, |
byref_as_integer | tlen, | ||
byref_as_integer | dtype, | ||
byval_as_LEXCHECK | flags | ||
) |
private function_as_ulongint hReadNonDecNumber | ( | byref_as_zstring_ptr | pnum, |
byref_as_integer | tlen, | ||
byref_as_integer | dtype, | ||
byval_as_LEXCHECK | flags | ||
) |
private sub hReadNumber | ( | byval_as_zstring_ptr | pnum, |
byref_as_integer | dtype, | ||
byref_as_integer | tlen, | ||
byval_as_LEXCHECK | flags | ||
) |
private sub hReadString | ( | byval_as_FBTOKEN_ptr | tk, |
byval_as_zstring_ptr | ps, | ||
byval_as_LEXCHECK | flags | ||
) |
private sub hReadWStr | ( | byval_as_FBTOKEN_ptr | tk, |
byval_as_wstring_ptr | ps, | ||
byval_as_LEXCHECK | flags | ||
) |
private sub hSkipChar | ( | void | ) |
function_as_uinteger lexCurrentChar | ( | byval_as_integer | skipwhitespc = FALSE ) |
function_as_uinteger lexEatChar | ( | ) |
sub lexEatToken | ( | byval_as_zstring_ptr | token, |
byval_as_LEXCHECK | flags | ||
) |
sub lexEnd | ( | ) |
function_as_integer lexGetClass | ( | byval_as_LEXCHECK | flags) |
function_as_integer lexGetLookAhead | ( | byval_as_integer | k, |
byval_as_LEXCHECK | flags | ||
) |
function_as_uinteger lexGetLookAheadChar | ( | byval_as_integer | skipwhitespc = FALSE ) |
function_as_integer lexGetLookAheadClass | ( | byval_as_integer | k, |
byval_as_LEXCHECK | flags | ||
) |
private function_as_string lexGetStrLitText | ( | byval_as_integer | tk) |
function_as_integer lexGetToken | ( | byval_as_LEXCHECK | flags) |
sub lexInit | ( | byval_as_integer | isinclude) |
sub lexNextToken | ( | byval_as_FBTOKEN_ptr | t, |
byval_as_LEXCHECK | flags | ||
) |
function_as_string lexPeekCurrentLine | ( | byref_as_string | token_pos, |
byval_as_integer | do_trim | ||
) |
sub lexPopCtx | ( | ) |
sub lexPPOnlyEmitText | ( | byref_as_string | s) |
sub lexPPOnlyEmitToken | ( | ) |
sub lexPushCtx | ( | ) |
sub lexReadLine | ( | byval_as_uinteger | endchar = INVALID , |
byval_as_zstring_ptr | dst = INVALID , |
||
byval_as_integer | skipline = FALSE |
||
) |
sub lexReadUTF16BE | ( | ) |
Definition at line 506 of file lex-utf.bas.
sub lexReadUTF16LE | ( | ) |
Definition at line 371 of file lex-utf.bas.
sub lexReadUTF32BE | ( | ) |
Definition at line 754 of file lex-utf.bas.
sub lexReadUTF32LE | ( | ) |
Definition at line 630 of file lex-utf.bas.
sub lexReadUTF8 | ( | ) |
Definition at line 235 of file lex-utf.bas.
sub lexSkipLine | ( | ) |
sub lexSkipToken | ( | byval_as_LEXCHECK | flags) |