1 // =================================
 2 // Copyright (c) 2024 Seppo Laakko
 3 // Distributed under the MIT license
 4 // =================================
 5 
 6 using System;
 7 
 8 namespace System.XPath
 9 {
10     public class Context
11     {
12         public Context(System.Xml.Node* node_int pos_int size_) : node(node_)pos(pos_)size(size_)
13         {
14         }
15         public inline System.Xml.Node* Node() const
16         {
17             return node;
18         }
19         public inline int Pos() const
20         {
21             return pos;
22         }
23         public inline int Size() const
24         {
25             return size;
26         }
27         private System.Xml.Node* node;
28         private int pos;
29         private int size;
30     }
31 }