Permalink
Browse files

Added stubs for StaticContext and DynamicContext

  • Loading branch information...
1 parent 18b7bbf commit e2e16e4a04cc39a864478edb4bbdb72333a381fd @bacek committed Dec 16, 2008
Showing with 27 additions and 0 deletions.
  1. +14 −0 XQuery/DynamicContext.pm
  2. +13 −0 XQuery/StaticContext.pm
View
@@ -0,0 +1,14 @@
+use v6;
+use XQuery::StaticContext;
+
+=begin pod
+
+DynamicContext of XQuery
+
+=end pod
+
+class XQuery::DynamicContext {
+ has XQuery::StaticContext $!static_context;
+};
+
+# vim: ft=perl6
View
@@ -0,0 +1,13 @@
+use v6;
+
+=begin pod
+
+StaticContext of XQuery
+
+=end pod
+
+class XQuery::StaticContext {
+ has $!parent is rw; # Parent context. 'is rw' for rewriting Core tree during optimization
+};
+
+# vim: ft=perl6

0 comments on commit e2e16e4

Please sign in to comment.