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
- DetailsViewDeletedEventArgs.cs
- SafeNativeMethods.cs
- WebUtil.cs
- HandleCollector.cs
- MbpInfo.cs
- ColumnMapCopier.cs
- WebException.cs
- SchemaElementDecl.cs
- DecimalAnimationUsingKeyFrames.cs
- HttpVersion.cs
- EntityDataSourceMemberPath.cs
- OdbcDataAdapter.cs
- LogLogRecordHeader.cs
- OneWayChannelFactory.cs
- XmlDictionaryWriter.cs
- AtlasWeb.Designer.cs
- TableLayoutSettings.cs
- LayoutInformation.cs
- TreeNodeMouseHoverEvent.cs
- BufferAllocator.cs
- XPathMessageFilter.cs
- DataGridItem.cs
- CrossSiteScriptingValidation.cs
- RightNameExpirationInfoPair.cs
- AsyncCompletedEventArgs.cs
- EntityClassGenerator.cs
- DetailsViewCommandEventArgs.cs
- InfoCardProofToken.cs
- URLAttribute.cs
- DataControlButton.cs
- DBSqlParserColumnCollection.cs
- PassportPrincipal.cs
- SynchronizedDisposablePool.cs
- WebException.cs
- CompiledRegexRunner.cs
- CaseInsensitiveHashCodeProvider.cs
- VisualStyleRenderer.cs
- ExclusiveHandle.cs
- SpecularMaterial.cs
- selecteditemcollection.cs
- DefaultPropertyAttribute.cs
- DirectoryNotFoundException.cs
- WebPartCatalogAddVerb.cs
- SignatureToken.cs
- SequenceRangeCollection.cs
- MessageSecurityProtocolFactory.cs
- TextRange.cs
- ExpressionBuilder.cs
- input.cs
- MembershipUser.cs
- FileLoadException.cs
- PartialToken.cs
- LinkedResourceCollection.cs
- DynamicControl.cs
- HeaderUtility.cs
- ApplicationActivator.cs
- InternalPermissions.cs
- ManipulationPivot.cs
- ProfileBuildProvider.cs
- DbDataAdapter.cs
- MdImport.cs
- SmtpMail.cs
- ControlUtil.cs
- StandardBindingOptionalReliableSessionElement.cs
- TextTreePropertyUndoUnit.cs
- ThreadBehavior.cs
- PauseStoryboard.cs
- ModifierKeysConverter.cs
- BigInt.cs
- XmlDownloadManager.cs
- NewArray.cs
- ContainerUtilities.cs
- UiaCoreProviderApi.cs
- OleAutBinder.cs
- ErrorItem.cs
- CheckBox.cs
- DatePickerDateValidationErrorEventArgs.cs
- InvokeFunc.cs
- RemoteWebConfigurationHostStream.cs
- ListCollectionView.cs
- TranslateTransform.cs
- ControlParameter.cs
- MailAddressCollection.cs
- CodeCommentStatementCollection.cs
- ResolveDuplex11AsyncResult.cs
- LinqDataSourceDisposeEventArgs.cs
- ModifiableIteratorCollection.cs
- OdbcStatementHandle.cs
- DataGridViewComboBoxColumn.cs
- MenuItemStyle.cs
- XamlTypeMapper.cs
- odbcmetadatacolumnnames.cs
- DSACryptoServiceProvider.cs
- ImpersonateTokenRef.cs
- XomlCompiler.cs
- PageFunction.cs
- ErasingStroke.cs
- XmlSchemaObjectCollection.cs
- MimeMapping.cs
- DataBinding.cs