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
- DBConnection.cs
- TemplateControlBuildProvider.cs
- ActiveXHelper.cs
- UnsignedPublishLicense.cs
- GridItemPattern.cs
- ModulesEntry.cs
- SecurityUniqueId.cs
- CompositeFontInfo.cs
- ApplicationProxyInternal.cs
- HandleRef.cs
- HMACSHA1.cs
- CapiNative.cs
- Accessors.cs
- InertiaExpansionBehavior.cs
- UnicodeEncoding.cs
- XmlElementElement.cs
- ProtocolInformationWriter.cs
- SplashScreen.cs
- ApplicationHost.cs
- ClassData.cs
- SweepDirectionValidation.cs
- ThicknessAnimationUsingKeyFrames.cs
- PerformanceCounterManager.cs
- ItemChangedEventArgs.cs
- StyleSheetComponentEditor.cs
- LazyInitializer.cs
- documentsequencetextview.cs
- CryptoStream.cs
- CollectionView.cs
- NativeMethods.cs
- MimeBasePart.cs
- XmlSchemaSimpleTypeRestriction.cs
- Size.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- FrameworkContentElementAutomationPeer.cs
- PropertiesTab.cs
- ConfigurationElementCollection.cs
- ConfigXmlCDataSection.cs
- XmlRootAttribute.cs
- HScrollBar.cs
- MenuItem.cs
- WebPart.cs
- DockingAttribute.cs
- TimelineCollection.cs
- UpdateInfo.cs
- TextServicesLoader.cs
- IdentityManager.cs
- FrameDimension.cs
- TreeNodeSelectionProcessor.cs
- EventHandlerList.cs
- ConstantProjectedSlot.cs
- DataRelationPropertyDescriptor.cs
- KerberosSecurityTokenAuthenticator.cs
- ActivityDesignerLayoutSerializers.cs
- WebPartConnectionsConnectVerb.cs
- RawMouseInputReport.cs
- FullTextLine.cs
- ValidationErrorCollection.cs
- Assert.cs
- SimpleHandlerFactory.cs
- HScrollProperties.cs
- SelectedCellsChangedEventArgs.cs
- AnnotationResource.cs
- MenuItem.cs
- StyleHelper.cs
- DataControlFieldsEditor.cs
- Button.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- BasePattern.cs
- RequestTimeoutManager.cs
- XPathParser.cs
- FlowDocumentView.cs
- IdentityManager.cs
- SimpleFieldTemplateFactory.cs
- LogLogRecord.cs
- NumberFormatInfo.cs
- ObjectCacheHost.cs
- CollectionsUtil.cs
- UInt32Storage.cs
- MailSettingsSection.cs
- SystemIPGlobalProperties.cs
- TypeUsageBuilder.cs
- TreeViewItemAutomationPeer.cs
- SystemIPGlobalProperties.cs
- StickyNoteHelper.cs
- SafeHandles.cs
- SoapInteropTypes.cs
- _TimerThread.cs
- ReachVisualSerializer.cs
- SimpleMailWebEventProvider.cs
- InvokeSchedule.cs
- StylusEventArgs.cs
- EUCJPEncoding.cs
- SqlMethodCallConverter.cs
- mansign.cs
- ReadOnlyTernaryTree.cs
- SQLSingleStorage.cs
- EditorPartChrome.cs
- JsonWriter.cs
- AppSettingsExpressionBuilder.cs