Code:
/ 4.0 / 4.0 / untmp / 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, Dictionary caps, 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
- DependencyPropertyHelper.cs
- DesignerLoader.cs
- BrowsableAttribute.cs
- SqlAliaser.cs
- WriteableBitmap.cs
- ActivityCodeDomSerializationManager.cs
- WebRequestModuleElementCollection.cs
- GenericIdentity.cs
- ReadingWritingEntityEventArgs.cs
- MaskedTextProvider.cs
- odbcmetadatacolumnnames.cs
- File.cs
- FrameworkContextData.cs
- AffineTransform3D.cs
- HyperLinkStyle.cs
- ipaddressinformationcollection.cs
- EncoderReplacementFallback.cs
- BaseUriHelper.cs
- Config.cs
- HtmlForm.cs
- FunctionOverloadResolver.cs
- ActivityWithResultWrapper.cs
- ListenerSessionConnectionReader.cs
- DataSourceCollectionBase.cs
- DES.cs
- sqlcontext.cs
- IssuanceLicense.cs
- KeyGesture.cs
- OleDbSchemaGuid.cs
- HotSpotCollectionEditor.cs
- BitmapScalingModeValidation.cs
- RichTextBoxConstants.cs
- MessageBox.cs
- ReadOnlyPropertyMetadata.cs
- TypeToken.cs
- PreviewPrintController.cs
- UnsafeNativeMethods.cs
- DateTimeOffset.cs
- SelectionManager.cs
- IdentityModelDictionary.cs
- CodeGenerator.cs
- ProfileServiceManager.cs
- CrossAppDomainChannel.cs
- PriorityBindingExpression.cs
- XmlSchemaInfo.cs
- Simplifier.cs
- SimpleParser.cs
- XmlWrappingWriter.cs
- GenericIdentity.cs
- XmlConvert.cs
- FrameSecurityDescriptor.cs
- ImageSource.cs
- ChannelSinkStacks.cs
- MediaContext.cs
- InheritanceContextHelper.cs
- ObservableCollectionDefaultValueFactory.cs
- LogManagementAsyncResult.cs
- KeySpline.cs
- LinqDataSourceUpdateEventArgs.cs
- XmlTextEncoder.cs
- PropertyChangedEventArgs.cs
- SoapFault.cs
- FamilyMapCollection.cs
- CharEntityEncoderFallback.cs
- CodeDelegateInvokeExpression.cs
- IndentedWriter.cs
- ObjectViewFactory.cs
- OverrideMode.cs
- SplitterPanelDesigner.cs
- DataKey.cs
- PrivateFontCollection.cs
- PartitionResolver.cs
- TypedReference.cs
- PathSegmentCollection.cs
- BinaryQueryOperator.cs
- SecurityCriticalDataForSet.cs
- CustomWebEventKey.cs
- PathFigureCollection.cs
- GlyphManager.cs
- EventMappingSettings.cs
- BinaryMessageFormatter.cs
- AccessDataSource.cs
- SqlProcedureAttribute.cs
- PropertyGridCommands.cs
- AppModelKnownContentFactory.cs
- StartUpEventArgs.cs
- Wizard.cs
- EnumBuilder.cs
- StartUpEventArgs.cs
- HttpListenerContext.cs
- Int64KeyFrameCollection.cs
- GridViewEditEventArgs.cs
- DataFieldConverter.cs
- UpWmlMobileTextWriter.cs
- ControlCachePolicy.cs
- ServiceHttpHandlerFactory.cs
- TransformConverter.cs
- CookieProtection.cs
- ToolStripButton.cs
- HighlightVisual.cs