mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-03 19:13:21 -08:00
eval_visualization: eliminate expansion-range hook; move expansions & block tree building completely to new eval hooks for lookups
This commit is contained in:
1 parent
5bbd9f1c7e
commit
eab5c7c971
20 files changed
+384
-1278
No files matched your search
@@ -1015,82 +1015,6 @@ RD_IconTable:
|
||||
@expand(RD_IconTable a) `str8_lit_comp("$(a.text)")`;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Collections
|
||||
|
||||
@table(name entity_kind ctrl_entity_kind id_space)
|
||||
RD_CollectionTable:
|
||||
{
|
||||
//- rjf: frontend entity groups
|
||||
//{watches Watch Null x}
|
||||
//{targets Target Null x}
|
||||
//{breakpoints Breakpoint Null x}
|
||||
//{watch_pins WatchPin Null x}
|
||||
//{file_path_maps FilePathMap Null x}
|
||||
//{auto_view_rules AutoViewRule Null x}
|
||||
|
||||
//- rjf: control entity groups
|
||||
//{machines Nil Machine x}
|
||||
//{processes Nil Process x}
|
||||
//{threads Nil Thread x}
|
||||
//{modules Nil Module x}
|
||||
|
||||
//- rjf: scheduling control entity hierarchies
|
||||
{scheduler_machine Nil Null x}
|
||||
{scheduler_process Nil Null x}
|
||||
|
||||
//- rjf: debug info / architecture watch tables
|
||||
// {locals Nil Null -}
|
||||
// {registers Nil Null -}
|
||||
// {globals Nil Null x}
|
||||
// {thread_locals Nil Null x}
|
||||
// {types Nil Null x}
|
||||
// {procedures Nil Null x}
|
||||
}
|
||||
|
||||
@gen
|
||||
{
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_DEF($(a.name));`;
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_DEF($(a.name));`;
|
||||
@expand(RD_CollectionTable a) `$(a.id_space == x -> "EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_DEF("..a.name..");")`;
|
||||
@expand(RD_CollectionTable a) `$(a.id_space == x -> "EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_DEF("..a.name..");")`;
|
||||
}
|
||||
|
||||
@data(String8) rd_collection_name_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `str8_lit_comp("$(a.name)")`
|
||||
}
|
||||
|
||||
@data(RD_EntityKind) rd_collection_entity_kind_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `RD_EntityKind_$(a.entity_kind)`,
|
||||
}
|
||||
|
||||
@data(CTRL_EntityKind) rd_collection_ctrl_entity_kind_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `CTRL_EntityKind_$(a.ctrl_entity_kind)`,
|
||||
}
|
||||
|
||||
@data(`EV_ViewRuleExprExpandInfoHookFunctionType *`) rd_collection_expr_expand_info_hook_function_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_NAME($(a.name))`
|
||||
}
|
||||
|
||||
@data(`EV_ViewRuleExprExpandRangeInfoHookFunctionType *`) rd_collection_expr_expand_range_info_hook_function_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_RANGE_INFO_FUNCTION_NAME($(a.name))`
|
||||
}
|
||||
|
||||
@data(`EV_ViewRuleExprExpandIDFromNumHookFunctionType *`) rd_collection_expr_expand_id_from_num_hook_function_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_ID_FROM_NUM_FUNCTION_NAME($(a.id_space == x -> a.name)$(a.id_space != x -> identity))`
|
||||
}
|
||||
|
||||
@data(`EV_ViewRuleExprExpandIDFromNumHookFunctionType *`) rd_collection_expr_expand_num_from_id_hook_function_table:
|
||||
{
|
||||
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME($(a.id_space == x -> a.name)$(a.id_space != x -> identity))`
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: View Rules
|
||||
|
||||
|
||||
Reference in new issue
Block a user