Permalink
Browse files

Add small description for Core

  • Loading branch information...
1 parent 34e20e6 commit ee2100df6a109b574b35b756e8d926973460b829 @bacek committed Dec 8, 2008
Showing with 9 additions and 0 deletions.
  1. +9 −0 XQuery/Core.pm
View
@@ -3,6 +3,15 @@ use XQuery::Core::Creator;
package XQuery::Core;
+=begin pod
+
+Core is tree, almost identical to XQuery Formal Semantics Core tree.
+Each Node has attached StaticType and optional StaticContext.
+StaticContext used during compilation/validation/execution phase.
+StaticType used during optimization phase.
+
+=end pod
+
sub create($ast) {
XQuery::Core::Creator.new().create_module($ast<Module>);
};

0 comments on commit ee2100d

Please sign in to comment.