summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-11-04 16:52:06 +0000
committerMorgan Deters <mdeters@gmail.com>2011-11-04 16:52:06 +0000
commit37812f8ad9743b372608e871efe3e336c4ebd631 (patch)
tree704591a3151169ed998956cbe4b85be8725941c2 /src/expr/expr_manager_template.cpp
parentb5fd5b61a9f0f993703497fb1c8d678cf2d8bb01 (diff)
STRING_TYPE and CONST_STRING and associate type infrastructure implemented.
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r--src/expr/expr_manager_template.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp
index 28f990c98..624fbd9a2 100644
--- a/src/expr/expr_manager_template.cpp
+++ b/src/expr/expr_manager_template.cpp
@@ -125,6 +125,11 @@ BooleanType ExprManager::booleanType() const {
return BooleanType(Type(d_nodeManager, new TypeNode(d_nodeManager->booleanType())));
}
+StringType ExprManager::stringType() const {
+ NodeManagerScope nms(d_nodeManager);
+ return StringType(Type(d_nodeManager, new TypeNode(d_nodeManager->stringType())));
+}
+
KindType ExprManager::kindType() const {
NodeManagerScope nms(d_nodeManager);
return KindType(Type(d_nodeManager, new TypeNode(d_nodeManager->kindType())));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback