Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added stubs for StaticContext and DynamicContext

  • Loading branch information...
commit e2e16e4a04cc39a864478edb4bbdb72333a381fd 1 parent 18b7bbf
Vasily Chekalkin authored
Showing with 27 additions and 0 deletions.
  1. +14 −0 XQuery/DynamicContext.pm
  2. +13 −0 XQuery/StaticContext.pm
14 XQuery/DynamicContext.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
13 XQuery/StaticContext.pm
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
Please sign in to comment.
Something went wrong with that request. Please try again.