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
- Collection.cs
- ConfigPathUtility.cs
- SecUtil.cs
- AsymmetricSignatureFormatter.cs
- DragEvent.cs
- HtmlContainerControl.cs
- RSACryptoServiceProvider.cs
- GestureRecognizer.cs
- XmlDocumentFieldSchema.cs
- MessageQueue.cs
- ViewBox.cs
- SelectionChangedEventArgs.cs
- DecimalAnimationBase.cs
- LineGeometry.cs
- SchemaObjectWriter.cs
- ConstructorBuilder.cs
- DynamicPropertyReader.cs
- DispatcherHooks.cs
- StateChangeEvent.cs
- ResourceWriter.cs
- ResourceExpressionBuilder.cs
- SqlBuilder.cs
- HelpKeywordAttribute.cs
- CircleHotSpot.cs
- RenderDataDrawingContext.cs
- WmlImageAdapter.cs
- ColumnMapCopier.cs
- HttpWebResponse.cs
- SessionSwitchEventArgs.cs
- DataStreamFromComStream.cs
- Geometry.cs
- LineMetrics.cs
- SafeLibraryHandle.cs
- AsyncSerializedWorker.cs
- MSHTMLHostUtil.cs
- SafeMILHandle.cs
- SerialReceived.cs
- TTSEvent.cs
- RadioButton.cs
- DtdParser.cs
- MetadataFile.cs
- SessionEndedEventArgs.cs
- ViewPort3D.cs
- CompModSwitches.cs
- DocumentPageHost.cs
- ProviderConnectionPoint.cs
- FontUnitConverter.cs
- Pool.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ConfigurationSectionGroup.cs
- DependencyPropertyKey.cs
- ImageButton.cs
- SchemaImporter.cs
- WorkflowInstanceExtensionManager.cs
- SymbolEqualComparer.cs
- NetSectionGroup.cs
- BCryptNative.cs
- LedgerEntry.cs
- ThreadStaticAttribute.cs
- IssuedTokenParametersElement.cs
- ListManagerBindingsCollection.cs
- SortedDictionary.cs
- CharStorage.cs
- MouseCaptureWithinProperty.cs
- ACL.cs
- SelectionChangedEventArgs.cs
- ExceptionValidationRule.cs
- sqlstateclientmanager.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- MultipartIdentifier.cs
- DecodeHelper.cs
- ProfileGroupSettingsCollection.cs
- Tile.cs
- SchemaNotation.cs
- ParallelTimeline.cs
- HierarchicalDataBoundControl.cs
- SmtpTransport.cs
- ImageAnimator.cs
- XmlDataCollection.cs
- WorkflowDesignerColors.cs
- SmtpException.cs
- HwndKeyboardInputProvider.cs
- StylusDownEventArgs.cs
- FormViewInsertEventArgs.cs
- KeyTimeConverter.cs
- HandledMouseEvent.cs
- DynamicActivityTypeDescriptor.cs
- TextServicesDisplayAttributePropertyRanges.cs
- JsonWriterDelegator.cs
- ImageClickEventArgs.cs
- ObjectItemCachedAssemblyLoader.cs
- WindowsSolidBrush.cs
- SingleStorage.cs
- MatrixAnimationBase.cs
- X509ChainElement.cs
- HorizontalAlignConverter.cs
- CheckBox.cs
- PEFileReader.cs
- XmlSchemaFacet.cs
- Rect3DValueSerializer.cs