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
- EntityCollection.cs
- SoundPlayerAction.cs
- FigureHelper.cs
- FunctionUpdateCommand.cs
- DispatchRuntime.cs
- LinqDataSource.cs
- XmlSchemaSimpleContent.cs
- HttpModulesSection.cs
- XPathSelectionIterator.cs
- XdrBuilder.cs
- NameValueFileSectionHandler.cs
- HttpAsyncResult.cs
- CommandTreeTypeHelper.cs
- IDQuery.cs
- XPathArrayIterator.cs
- ConnectionManagementElementCollection.cs
- ResetableIterator.cs
- Pair.cs
- DBCSCodePageEncoding.cs
- DelegatingTypeDescriptionProvider.cs
- BaseDataBoundControlDesigner.cs
- Control.cs
- Encoding.cs
- Command.cs
- RenderData.cs
- HtmlControl.cs
- XmlUtil.cs
- NamedPipeTransportSecurity.cs
- SqlCacheDependency.cs
- User.cs
- Int32Rect.cs
- LineServicesCallbacks.cs
- IPCCacheManager.cs
- ChangeProcessor.cs
- Html32TextWriter.cs
- CredentialCache.cs
- _BasicClient.cs
- SmtpMail.cs
- TransactionContextValidator.cs
- AttachedProperty.cs
- Rect3DValueSerializer.cs
- IgnoreFlushAndCloseStream.cs
- EventHandlers.cs
- ItemCollection.cs
- CommandPlan.cs
- CodeTypeDelegate.cs
- GiveFeedbackEvent.cs
- Section.cs
- BindingContext.cs
- XmlHierarchicalEnumerable.cs
- FontDialog.cs
- InstanceDataCollection.cs
- WebControl.cs
- EdmSchemaAttribute.cs
- SchemaMapping.cs
- PathGradientBrush.cs
- ValidationEventArgs.cs
- Dynamic.cs
- PtsContext.cs
- TableItemStyle.cs
- ListMarkerLine.cs
- IgnoreSection.cs
- EntityContainerRelationshipSetEnd.cs
- LOSFormatter.cs
- OracleNumber.cs
- EventLogReader.cs
- EditingCommands.cs
- TextParagraphProperties.cs
- Rotation3DAnimationBase.cs
- Main.cs
- TriggerCollection.cs
- TemplateLookupAction.cs
- TransactionBridgeSection.cs
- Point3DCollectionConverter.cs
- StylusPointPropertyId.cs
- DescriptionAttribute.cs
- SqlNodeAnnotation.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XslCompiledTransform.cs
- SQLMoneyStorage.cs
- IgnoreSectionHandler.cs
- PanelStyle.cs
- SqlUnionizer.cs
- BadImageFormatException.cs
- RemotingConfigParser.cs
- XmlHelper.cs
- XmlObjectSerializer.cs
- LogSwitch.cs
- TimeoutException.cs
- EntityClientCacheKey.cs
- ProcessModelSection.cs
- GridItemProviderWrapper.cs
- RenderContext.cs
- StreamGeometry.cs
- ConfigurationLoaderException.cs
- SmiEventSink.cs
- EntityDataSourceWrapperCollection.cs
- ConditionChanges.cs
- TdsParserHelperClasses.cs
- ManagedWndProcTracker.cs