perform term and goal expansion on asserted dynamic predicates inside modules

This commit is contained in:
Mark Thom
2019-03-09 13:41:33 -07:00
parent 870aa7651e
commit 9f398b2552
3 changed files with 98 additions and 29 deletions

View File

@@ -237,5 +237,7 @@ pub struct Module {
pub op_dir: OpDir,
pub term_expansions: (Predicate, VecDeque<TopLevel>),
pub goal_expansions: (Predicate, VecDeque<TopLevel>),
pub user_term_expansions: (Predicate, VecDeque<TopLevel>), // term expansions inherited from the user scope.
pub user_goal_expansions: (Predicate, VecDeque<TopLevel>), // same for goal_expansions.
pub inserted_expansions: bool // has the module been successfully inserted into toplevel??
}