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>(); }
public static Match Match(this Regex self, StringSpan span, int index, int length) { return(Match(self, span.Slice(index, length))); }
public static Match Match(this Regex self, StringSpan span) { return(self.Match(span.SourceString, span.StartIndex, span.Length)); }