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));
 }