Parents: | c |
Tags: | languages, parsing |
Authors: | Doug Coleman |
Class | Superclass | Slots |
bad-include-line | tuple | line |
header-file-missing | tuple | path |
include-nested-too-deeply | tuple | |
preprocessor-state | tuple | library-paths symbol-table include-nesting include-nesting-max processing-disabled? ifdef-nesting warnings errors pragmas include-nexts ifs elifs elses |
unknown-c-preprocessor | tuple | sequence-parser name |
Word | Stack effect |
(readlns) | ( -- ) |
<preprocessor-state> | ( -- preprocessor-state ) |
bad-include-line | ( line -- * ) |
check-nesting | ( preprocessor-state -- preprocessor-state ) |
handle-define | ( preprocessor-state sequence-parser -- ) |
handle-elif | ( preprocessor-state sequence-parser -- ) |
handle-else | ( preprocessor-state sequence-parser -- ) |
handle-endif | ( preprocessor-state sequence-parser -- ) |
handle-error | ( preprocessor-state sequence-parser -- ) |
handle-if | ( preprocessor-state sequence-parser -- ) |
handle-ifdef | ( preprocessor-state sequence-parser -- ) |
handle-ifndef | ( preprocessor-state sequence-parser -- ) |
handle-include | ( preprocessor-state sequence-parser -- ) |
handle-include-next | ( preprocessor-state sequence-parser -- ) |
handle-pragma | ( preprocessor-state sequence-parser -- ) |
handle-undef | ( preprocessor-state sequence-parser -- ) |
handle-warning | ( preprocessor-state sequence-parser -- ) |
header-file-missing | ( path -- * ) |
include-nested-too-deeply | ( -- * ) |
initial-library-paths | ( -- seq ) |
initial-symbol-table | ( -- hashtable ) |
parse-directive | ( preprocessor-state sequence-parser string -- ) |
parse-directive-line | ( preprocessor-state sequence-parser -- ) |
preprocess-file | ( preprocessor-state path -- ) |
preprocess-line | ( preprocessor-state sequence-parser -- ) |
preprocess-lines | ( preprocessor-state -- ) |
read-local-include | ( preprocessor-state path -- ) |
read-standard-include | ( preprocessor-state path -- ) |
readlns | ( -- string ) |
skip-whitespace/comments | ( sequence-parser -- sequence-parser ) |
start-preprocess-file | ( path -- preprocessor-state string ) |
take-define-identifier | ( sequence-parser -- string ) |
unknown-c-preprocessor | ( sequence-parser name -- * ) |
Word | Stack effect |
bad-include-line? | ( object -- ? ) |
header-file-missing? | ( object -- ? ) |
include-nested-too-deeply? | ( object -- ? ) |
preprocessor-state? | ( object -- ? ) |
unknown-c-preprocessor? | ( object -- ? ) |