Ejemplo n.º 1
0
        public ModulePage(Utils.StringSpan moduleID)
        {
            ModuleID = moduleID;
            Module   = null;
            Imports  = null;

            Structs    = new List <StructNode>();
            Functions  = new List <FunctionNode>();
            Interfaces = new List <InterfaceNode>();
            Implements = new List <ImplementNode>();
            Globals    = new List <VarDeclarationNode>();
            Consts     = new List <ConstDeclarationNode>();
        }
Ejemplo n.º 2
0
 public static Match Match(this Regex self, StringSpan span, int index, int length)
 {
     return(Match(self, span.Slice(index, length)));
 }
Ejemplo n.º 3
0
 public static Match Match(this Regex self, StringSpan span)
 {
     return(self.Match(span.SourceString, span.StartIndex, span.Length));
 }