raesl.compile.typechecking.verb_builder
#
Class to store and check verb / pre-position definitions.
Module Contents#
Classes#
Part of the builders to deal with verbs / pre-positions. |
- class raesl.compile.typechecking.verb_builder.VerbDefBuilder(ast_builder: raesl.compile.typechecking.ast_builder.AstBuilder)#
Part of the builders to deal with verbs / pre-positions.
- add_verbdef(verb_tok: raesl.compile.scanner.Token, prepos_tok: raesl.compile.scanner.Token)#
Store the provided verb/prepos combination.
- finish(spec: raesl.compile.ast.specification.Specification)#
Finish collecting by checking the collected verb-prepositions. Store result in the provided specification.