aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r--libbuild2/parser.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx
index a6060d5..185216b 100644
--- a/libbuild2/parser.hxx
+++ b/libbuild2/parser.hxx
@@ -120,6 +120,15 @@ namespace build2
vector<pair<lookup, string>> config_report; // Config value and format.
bool config_report_new = false; // One of values is new.
+ // Misc utilities.
+ //
+ public:
+ // Return the value type corresponding to the type name or NULL if the
+ // type name is unknown. Pass project's root scope if known.
+ //
+ static const value_type*
+ find_value_type (const scope* rs, const string& name);
+
// Recursive descent parser.
//
protected: