Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(290)

Unified Diff: lily/include/context-def.hh

Issue 339710043: Issue 5337: Create Bottom contexts in a more general way (Closed)
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/include/context.hh ('k') | lily/include/global-context.hh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/include/context-def.hh
diff --git a/lily/include/context-def.hh b/lily/include/context-def.hh
index 2df0cf5282057e72ca3abec080275e1a32d4bd4d..077b7d261df8814b1336ff323b84c016d500d978 100644
--- a/lily/include/context-def.hh
+++ b/lily/include/context-def.hh
@@ -68,6 +68,9 @@ public:
vector<Context_def *> path_to_acceptable_context (SCM type_string,
Output_def *,
SCM) const;
+
+ static vector<Context_def *> path_to_bottom_context (Output_def *,
+ SCM first_child_type_sym);
Context *instantiate (SCM extra_ops);
SCM to_alist () const;
@@ -84,6 +87,10 @@ private:
Output_def *,
SCM,
set<const Context_def *> *seen) const;
+
+ static bool internal_path_to_bottom_context (Output_def *,
+ vector<Context_def *> *path,
+ SCM next_type_sym);
};
#endif /* CONTEXT_DEF_HH */
« no previous file with comments | « lily/include/context.hh ('k') | lily/include/global-context.hh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b