Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexTree.cs / 1305376 / RegexTree.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- // RegexTree is just a wrapper for a node tree with some // global information attached. namespace System.Text.RegularExpressions { using System.Collections; using System.Collections.Generic; internal sealed class RegexTree { #if SILVERLIGHT internal RegexTree(RegexNode root, Dictionarycaps, Int32[] capnumlist, int captop, Dictionary capnames, String[] capslist, RegexOptions opts) #else internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) #endif { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; #if SILVERLIGHT internal Dictionary _caps; #else internal Hashtable _caps; #endif internal Int32[] _capnumlist; #if SILVERLIGHT internal Dictionary _capnames; #else internal Hashtable _capnames; #endif internal String[] _capslist; internal RegexOptions _options; internal int _captop; #if DBG internal void Dump() { _root.Dump(); } internal bool Debug { get { return(_options & RegexOptions.Debug) != 0; } } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- // RegexTree is just a wrapper for a node tree with some // global information attached. namespace System.Text.RegularExpressions { using System.Collections; using System.Collections.Generic; internal sealed class RegexTree { #if SILVERLIGHT internal RegexTree(RegexNode root, Dictionarycaps, Int32[] capnumlist, int captop, Dictionary capnames, String[] capslist, RegexOptions opts) #else internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) #endif { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; #if SILVERLIGHT internal Dictionary _caps; #else internal Hashtable _caps; #endif internal Int32[] _capnumlist; #if SILVERLIGHT internal Dictionary _capnames; #else internal Hashtable _capnames; #endif internal String[] _capslist; internal RegexOptions _options; internal int _captop; #if DBG internal void Dump() { _root.Dump(); } internal bool Debug { get { return(_options & RegexOptions.Debug) != 0; } } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PointCollectionConverter.cs
- AssemblyBuilder.cs
- ItemsControlAutomationPeer.cs
- ConfigXmlElement.cs
- HwndAppCommandInputProvider.cs
- FtpWebRequest.cs
- StrongNameUtility.cs
- PersonalizableAttribute.cs
- FontWeights.cs
- NameValueCollection.cs
- LinqDataSourceValidationException.cs
- ActivityExecutor.cs
- PerfCounters.cs
- _ScatterGatherBuffers.cs
- ListItemCollection.cs
- SqlConnectionString.cs
- MenuRendererStandards.cs
- hresults.cs
- AnnotationDocumentPaginator.cs
- ContextBase.cs
- DataBinding.cs
- EventProviderBase.cs
- TextRangeProviderWrapper.cs
- BaseCAMarshaler.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EdmComplexTypeAttribute.cs
- ValidationHelper.cs
- FileLogRecordHeader.cs
- TableParaClient.cs
- CurrentTimeZone.cs
- activationcontext.cs
- SessionStateUtil.cs
- BamlLocalizabilityResolver.cs
- HashMembershipCondition.cs
- ParallelDesigner.cs
- TextRangeAdaptor.cs
- CollectionViewSource.cs
- Assert.cs
- versioninfo.cs
- QueryResponse.cs
- ResourcesBuildProvider.cs
- TableLayoutColumnStyleCollection.cs
- RealProxy.cs
- MetadataArtifactLoaderCompositeFile.cs
- MaterialCollection.cs
- ToolBarPanel.cs
- CachingHintValidation.cs
- PriorityQueue.cs
- DataGridRowHeaderAutomationPeer.cs
- ControlBuilderAttribute.cs
- ADMembershipUser.cs
- FactorySettingsElement.cs
- Crc32Helper.cs
- ValueCollectionParameterReader.cs
- XMLSyntaxException.cs
- XmlArrayItemAttributes.cs
- TextViewDesigner.cs
- HtmlFormWrapper.cs
- KeyInstance.cs
- FilterElement.cs
- ClassValidator.cs
- PasswordPropertyTextAttribute.cs
- DomainUpDown.cs
- HitTestParameters.cs
- CompositeFontFamily.cs
- HTTPNotFoundHandler.cs
- MetadataItemEmitter.cs
- EventManager.cs
- HyperLink.cs
- TypeConverterHelper.cs
- PackUriHelper.cs
- ByteStorage.cs
- XmlNavigatorStack.cs
- MessageDecoder.cs
- RsaSecurityToken.cs
- NegationPusher.cs
- ResourcePart.cs
- ApplicationServiceManager.cs
- TogglePatternIdentifiers.cs
- TaskExceptionHolder.cs
- XmlBoundElement.cs
- GuidConverter.cs
- BindingOperations.cs
- ParseChildrenAsPropertiesAttribute.cs
- SimpleWebHandlerParser.cs
- QueryProcessor.cs
- SqlTransaction.cs
- FileEnumerator.cs
- Roles.cs
- CacheChildrenQuery.cs
- securitycriticaldataformultiplegetandset.cs
- XmlSigningNodeWriter.cs
- HttpGetProtocolImporter.cs
- BufferedGraphics.cs
- PolyLineSegment.cs
- NullableBoolConverter.cs
- Queue.cs
- DataFieldEditor.cs
- LogWriteRestartAreaAsyncResult.cs
- SqlNode.cs