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
- SeverityFilter.cs
- SafeNativeMethods.cs
- Vector3DCollectionConverter.cs
- DBCSCodePageEncoding.cs
- ProfileServiceManager.cs
- TTSEngineProxy.cs
- DataGridViewTopLeftHeaderCell.cs
- DataTemplate.cs
- CompilerGeneratedAttribute.cs
- WebConvert.cs
- IsolatedStorage.cs
- NoneExcludedImageIndexConverter.cs
- VariableExpressionConverter.cs
- FormsIdentity.cs
- WebAdminConfigurationHelper.cs
- HttpPostedFile.cs
- ExternalException.cs
- Int32Rect.cs
- DataGridTextBox.cs
- _KerberosClient.cs
- StatusBarPanel.cs
- TypeFieldSchema.cs
- FixedSOMSemanticBox.cs
- Descriptor.cs
- PauseStoryboard.cs
- TransformerTypeCollection.cs
- UdpDiscoveryEndpoint.cs
- PropertyGroupDescription.cs
- AppDomainManager.cs
- ResourceReferenceExpression.cs
- NamedPipeHostedTransportConfiguration.cs
- TypedTableBase.cs
- UniqueID.cs
- DynamicRendererThreadManager.cs
- PropertySegmentSerializationProvider.cs
- ButtonField.cs
- InputProcessorProfilesLoader.cs
- ContextMenuAutomationPeer.cs
- ObjectQueryExecutionPlan.cs
- TreeNodeConverter.cs
- Operators.cs
- RichTextBoxConstants.cs
- ElementHost.cs
- PageAsyncTaskManager.cs
- Internal.cs
- IisTraceListener.cs
- HwndStylusInputProvider.cs
- GenericIdentity.cs
- PeerPresenceInfo.cs
- QilExpression.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ContentPresenter.cs
- CaseExpr.cs
- TdsRecordBufferSetter.cs
- StringExpressionSet.cs
- BmpBitmapDecoder.cs
- DefaultAutoFieldGenerator.cs
- ContentFileHelper.cs
- QilIterator.cs
- IssuedTokenParametersElement.cs
- MobileFormsAuthentication.cs
- SelectionProcessor.cs
- AsnEncodedData.cs
- DataAdapter.cs
- ExpressionList.cs
- ObfuscateAssemblyAttribute.cs
- StringReader.cs
- ExtentKey.cs
- RewritingProcessor.cs
- RawMouseInputReport.cs
- Internal.cs
- RoleServiceManager.cs
- Message.cs
- AppSettings.cs
- VerticalAlignConverter.cs
- RemotingService.cs
- BooleanToVisibilityConverter.cs
- CodeMemberEvent.cs
- DiagnosticTrace.cs
- DragCompletedEventArgs.cs
- DataGridViewLayoutData.cs
- KnowledgeBase.cs
- ContextMenu.cs
- RuntimeHandles.cs
- Visitors.cs
- SqlTypeConverter.cs
- RelativeSource.cs
- DataTableCollection.cs
- PageStatePersister.cs
- BidOverLoads.cs
- Timer.cs
- SecurityTokenAuthenticator.cs
- SplitterPanel.cs
- TableRow.cs
- EventlogProvider.cs
- PolyBezierSegment.cs
- TemplateControlBuildProvider.cs
- GlyphManager.cs
- ProcessModelInfo.cs
- TextSegment.cs