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
- SafeTimerHandle.cs
- Margins.cs
- XpsSerializerFactory.cs
- SystemWebCachingSectionGroup.cs
- SQlBooleanStorage.cs
- ResourceDescriptionAttribute.cs
- SessionEndedEventArgs.cs
- XmlName.cs
- LineUtil.cs
- TableRowsCollectionEditor.cs
- SlotInfo.cs
- ControlHelper.cs
- PolicyException.cs
- ResourceDescriptionAttribute.cs
- FunctionMappingTranslator.cs
- PipeStream.cs
- DeclaredTypeElement.cs
- BuilderPropertyEntry.cs
- CustomCategoryAttribute.cs
- KeyGestureConverter.cs
- ObjectDataSourceEventArgs.cs
- DataBoundControlAdapter.cs
- SqlIdentifier.cs
- BitmapImage.cs
- MeasureItemEvent.cs
- DesignerCategoryAttribute.cs
- SQLSingle.cs
- securitycriticaldataformultiplegetandset.cs
- KnowledgeBase.cs
- GiveFeedbackEventArgs.cs
- CustomWebEventKey.cs
- BehaviorDragDropEventArgs.cs
- ExplicitDiscriminatorMap.cs
- StringSource.cs
- InterleavedZipPartStream.cs
- RawTextInputReport.cs
- Registry.cs
- Point4DConverter.cs
- TransactionProtocolConverter.cs
- MetadataUtilsSmi.cs
- LayoutTableCell.cs
- DataGridViewCellFormattingEventArgs.cs
- TreeViewImageKeyConverter.cs
- UrlUtility.cs
- ProcessInputEventArgs.cs
- FullTextState.cs
- httpapplicationstate.cs
- TargetControlTypeCache.cs
- HttpConfigurationContext.cs
- COAUTHIDENTITY.cs
- WinFormsSpinner.cs
- HttpModuleActionCollection.cs
- ReaderWriterLockWrapper.cs
- InvokePattern.cs
- DataRowView.cs
- NewItemsContextMenuStrip.cs
- CodeBinaryOperatorExpression.cs
- ServiceDescription.cs
- MessageDescriptionCollection.cs
- EncryptedKeyIdentifierClause.cs
- DataSourceControl.cs
- ComUdtElementCollection.cs
- DefinitionUpdate.cs
- ImageFormat.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- HeaderedItemsControl.cs
- SqlDependencyUtils.cs
- ArgumentException.cs
- StaticExtension.cs
- NumberSubstitution.cs
- UrlAuthorizationModule.cs
- diagnosticsswitches.cs
- DataGridViewSortCompareEventArgs.cs
- Stroke2.cs
- ProtocolElementCollection.cs
- MessageFilter.cs
- RenderDataDrawingContext.cs
- _WinHttpWebProxyDataBuilder.cs
- CodeNamespaceCollection.cs
- Screen.cs
- IriParsingElement.cs
- ScrollBar.cs
- BitmapMetadataEnumerator.cs
- SqlFlattener.cs
- ExpressionNode.cs
- PersonalizationStateQuery.cs
- SqlNamer.cs
- DebugInfoGenerator.cs
- OutputScope.cs
- TraceXPathNavigator.cs
- RelationshipNavigation.cs
- DiscoveryClientElement.cs
- RestHandler.cs
- MonikerBuilder.cs
- Listbox.cs
- BaseProcessor.cs
- NativeWindow.cs
- StructuralObject.cs
- ToolStripAdornerWindowService.cs
- UserCancellationException.cs