Пример #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>();
        }
Пример #2
0
 public static Match Match(this Regex self, StringSpan span, int index, int length)
 {
     return(Match(self, span.Slice(index, length)));
 }
Пример #3
0
 public static Match Match(this Regex self, StringSpan span)
 {
     return(self.Match(span.SourceString, span.StartIndex, span.Length));
 }