Source code for the Parser class. More...
Go to the source code of this file.
Macros | |
#define | SKIP /* Tk += 3 */ |
Snippet to skip to the next token. More... | |
#define | SCAN_ML_COMM() |
Find the end of a multi line comment. More... | |
#define | SCAN_WORD() |
Find the end of a word. More... | |
#define | SETOK(_T_, _A_, _L_) /* Tok &= MKL(_T_) & MKL(_A_) & MKL(_L_) : ToLast = _T_ */ |
snippet to set the current token More... | |
#define | EXIT_STOP /* SETOK(MSG_STOP, Po, 1) : Po -= 1 : EXIT DO */ |
snippet to exit in case of end of file More... | |
Source code for the Parser class.
This file contains the source code for the Parser class. It's used to scan the FB input for relevant constructs and call the matching function in the EmitterIF.
Definition in file fbdoc_parser.bas.
#define SKIP /* Tk += 3 */ |
Snippet to skip to the next token.
Definition at line 34 of file fbdoc_parser.bas.
#define SCAN_ML_COMM | ( | ) |
Find the end of a multi line comment.
This snippet is used to find the end of a multi line comment block. It stops at the characters ' and / (if Buf[Po] isn't ASC("/") then the end of the buffer is reached).
Definition at line 896 of file fbdoc_parser.bas.
#define SCAN_WORD | ( | ) |
Find the end of a word.
This snippet is used to find the end of a word in the input buffer. Po is at the first non-word character when done.
Definition at line 918 of file fbdoc_parser.bas.
#define SETOK | ( | _T_, | |
_A_, | |||
_L_ | |||
) | /* Tok &= MKL(_T_) & MKL(_A_) & MKL(_L_) : ToLast = _T_ */ |
snippet to set the current token
Definition at line 932 of file fbdoc_parser.bas.
#define EXIT_STOP /* SETOK(MSG_STOP, Po, 1) : Po -= 1 : EXIT DO */ |
snippet to exit in case of end of file
Definition at line 935 of file fbdoc_parser.bas.