Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Regex / System / Text / RegularExpressions / RegexTree.cs / 1 / 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; internal sealed class RegexTree { internal RegexTree(RegexNode root, Hashtable caps, Object[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; internal Hashtable _caps; internal Object[] _capnumlist; internal Hashtable _capnames; 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; internal sealed class RegexTree { internal RegexTree(RegexNode root, Hashtable caps, Object[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) { _root = root; _caps = caps; _capnumlist = capnumlist; _capnames = capnames; _capslist = capslist; _captop = captop; _options = opts; } internal RegexNode _root; internal Hashtable _caps; internal Object[] _capnumlist; internal Hashtable _capnames; 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
- GetWorkflowTree.cs
- KeyMatchBuilder.cs
- ComponentGuaranteesAttribute.cs
- WindowsScrollBar.cs
- RayHitTestParameters.cs
- VisualStyleInformation.cs
- AssociatedControlConverter.cs
- WorkflowHostingEndpoint.cs
- FormViewDeleteEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- SynchronizedDispatch.cs
- HttpCapabilitiesEvaluator.cs
- WebBrowserProgressChangedEventHandler.cs
- DataColumn.cs
- TextEditorSelection.cs
- DoubleAnimation.cs
- ToolBar.cs
- TabControl.cs
- EvidenceBase.cs
- NotFiniteNumberException.cs
- TreeWalkHelper.cs
- PrivateFontCollection.cs
- SubpageParaClient.cs
- BufferModesCollection.cs
- TextEndOfLine.cs
- CatalogPartDesigner.cs
- AutomationEventArgs.cs
- ErrorHandler.cs
- SqlProfileProvider.cs
- DesignTimeParseData.cs
- DefaultSerializationProviderAttribute.cs
- EntityEntry.cs
- DBNull.cs
- DetailsViewPageEventArgs.cs
- MSAAWinEventWrap.cs
- BufferedReadStream.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- HtmlFormWrapper.cs
- RowParagraph.cs
- AdornerDecorator.cs
- LocalizableAttribute.cs
- EntitySetRetriever.cs
- IisTraceListener.cs
- AliasedSlot.cs
- altserialization.cs
- TypeGeneratedEventArgs.cs
- externdll.cs
- RowToFieldTransformer.cs
- ScaleTransform.cs
- XmlSchema.cs
- ContentValidator.cs
- WindowsFormsLinkLabel.cs
- ColumnCollectionEditor.cs
- Roles.cs
- ConfigPathUtility.cs
- MasterPageCodeDomTreeGenerator.cs
- Privilege.cs
- HtmlInputCheckBox.cs
- OperationParameterInfo.cs
- SHA256.cs
- TypeNameParser.cs
- VectorAnimation.cs
- EdmScalarPropertyAttribute.cs
- CodeMemberEvent.cs
- UriTemplateDispatchFormatter.cs
- _DisconnectOverlappedAsyncResult.cs
- RegisteredArrayDeclaration.cs
- SingleResultAttribute.cs
- XmlSerializerOperationFormatter.cs
- BaseComponentEditor.cs
- QueryCacheKey.cs
- ReadOnlyTernaryTree.cs
- WebControlParameterProxy.cs
- __FastResourceComparer.cs
- XPathPatternParser.cs
- DLinqTableProvider.cs
- FontCollection.cs
- SelectionChangedEventArgs.cs
- SurrogateEncoder.cs
- XmlnsPrefixAttribute.cs
- XPathChildIterator.cs
- FusionWrap.cs
- CacheChildrenQuery.cs
- ToolStripDropDown.cs
- COM2PropertyDescriptor.cs
- AssemblySettingAttributes.cs
- FloatUtil.cs
- TransformValueSerializer.cs
- XmlNodeChangedEventManager.cs
- WebPartEditorApplyVerb.cs
- Visual3D.cs
- SqlClientWrapperSmiStream.cs
- HttpGetClientProtocol.cs
- BoundField.cs
- LinkArea.cs
- SettingsPropertyIsReadOnlyException.cs
- SendMailErrorEventArgs.cs
- MemberMemberBinding.cs
- FilteredSchemaElementLookUpTable.cs
- CharacterHit.cs