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
- DataSourceControl.cs
- RowUpdatingEventArgs.cs
- AttributeCollection.cs
- ResourceDictionary.cs
- RecordManager.cs
- Main.cs
- WebConfigManager.cs
- _ChunkParse.cs
- RootBrowserWindowAutomationPeer.cs
- RowToFieldTransformer.cs
- MultiView.cs
- AdornerDecorator.cs
- ThreadStateException.cs
- XmlDocument.cs
- Dispatcher.cs
- Subtree.cs
- DecoderExceptionFallback.cs
- PlaceHolder.cs
- PixelFormatConverter.cs
- DataContractSet.cs
- DecimalAverageAggregationOperator.cs
- WindowsGrip.cs
- StrongName.cs
- SynchronizationContextHelper.cs
- Matrix.cs
- AddingNewEventArgs.cs
- OracleInternalConnection.cs
- EntityViewGenerator.cs
- DataTableNewRowEvent.cs
- CompatibleComparer.cs
- CopyAttributesAction.cs
- GenerateScriptTypeAttribute.cs
- AddInContractAttribute.cs
- CharacterString.cs
- FreezableOperations.cs
- TimeSpanStorage.cs
- AppSettingsExpressionBuilder.cs
- HandlerWithFactory.cs
- ColorConverter.cs
- ReliableChannelListener.cs
- Hex.cs
- PathNode.cs
- BindingOperations.cs
- WebPartConnectVerb.cs
- Message.cs
- InvalidCommandTreeException.cs
- OdbcConnectionFactory.cs
- EntityUtil.cs
- StructuralObject.cs
- GradientBrush.cs
- EntitySqlQueryState.cs
- FilteredSchemaElementLookUpTable.cs
- HwndProxyElementProvider.cs
- UserControl.cs
- TransformProviderWrapper.cs
- WorkflowEnvironment.cs
- FileSystemInfo.cs
- HttpCacheParams.cs
- LazyLoadBehavior.cs
- Msec.cs
- HtmlElement.cs
- FlowLayoutSettings.cs
- RsaSecurityTokenParameters.cs
- ActivityExecutorSurrogate.cs
- WSHttpTransportSecurityElement.cs
- GrammarBuilderBase.cs
- Scalars.cs
- ComponentRenameEvent.cs
- FileEnumerator.cs
- Number.cs
- ScrollEventArgs.cs
- ValueProviderWrapper.cs
- FormsAuthenticationEventArgs.cs
- PackUriHelper.cs
- Descriptor.cs
- PackWebRequestFactory.cs
- DocumentSequence.cs
- CodeAttributeArgumentCollection.cs
- FieldAccessException.cs
- StringValueSerializer.cs
- UpdateRecord.cs
- Panel.cs
- BaseAutoFormat.cs
- CharacterHit.cs
- BitmapCodecInfoInternal.cs
- StateMachineWorkflowDesigner.cs
- FormsAuthenticationTicket.cs
- DataGridViewBindingCompleteEventArgs.cs
- NamespaceQuery.cs
- COAUTHINFO.cs
- BinaryCommonClasses.cs
- PasswordRecovery.cs
- DependencyProperty.cs
- TransportManager.cs
- PagerStyle.cs
- MSG.cs
- StateManagedCollection.cs
- TdsParserHelperClasses.cs
- XmlSchemaAttribute.cs
- ArcSegment.cs