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
- QilChoice.cs
- MessageSecurityTokenVersion.cs
- SettingsSavedEventArgs.cs
- XamlLoadErrorInfo.cs
- SystemUdpStatistics.cs
- PriorityItem.cs
- ListControlConvertEventArgs.cs
- ErasingStroke.cs
- Typography.cs
- Sql8ExpressionRewriter.cs
- SingleConverter.cs
- RegionData.cs
- WindowsListViewScroll.cs
- AddInIpcChannel.cs
- TimerElapsedEvenArgs.cs
- RequestCachingSection.cs
- HttpListenerRequest.cs
- PreProcessInputEventArgs.cs
- Permission.cs
- ShaderEffect.cs
- ExtendedTransformFactory.cs
- QuaternionValueSerializer.cs
- XPathParser.cs
- MessageBox.cs
- ExpressionBuilder.cs
- KeyProperty.cs
- RightsManagementInformation.cs
- WebPartConnection.cs
- PageSetupDialog.cs
- StringBuilder.cs
- SettingsPropertyNotFoundException.cs
- ConfigurationPermission.cs
- RowParagraph.cs
- Track.cs
- DataSvcMapFileSerializer.cs
- XmlEncoding.cs
- QilXmlReader.cs
- FontStretchConverter.cs
- XsltArgumentList.cs
- Vars.cs
- ImageUrlEditor.cs
- AddInProcess.cs
- Model3DCollection.cs
- ClientCultureInfo.cs
- CompilerState.cs
- SafeCertificateStore.cs
- ArgumentException.cs
- WindowsAuthenticationEventArgs.cs
- UpdatePanelControlTrigger.cs
- StatusBarPanel.cs
- FormsAuthenticationEventArgs.cs
- ConvertEvent.cs
- EDesignUtil.cs
- PipelineModuleStepContainer.cs
- UpDownBase.cs
- CipherData.cs
- OleDbSchemaGuid.cs
- SqlMethodTransformer.cs
- SQLInt16Storage.cs
- SortedDictionary.cs
- OleDbStruct.cs
- ConstantSlot.cs
- SerializationAttributes.cs
- XmlLangPropertyAttribute.cs
- ExtendLockAsyncResult.cs
- RuleInfoComparer.cs
- XmlTextWriter.cs
- WebEventTraceProvider.cs
- AdRotator.cs
- ConfigXmlSignificantWhitespace.cs
- AndCondition.cs
- ClientFormsIdentity.cs
- WorkflowService.cs
- ComplexPropertyEntry.cs
- TypeForwardedToAttribute.cs
- Choices.cs
- DataGridViewToolTip.cs
- EventLogPermission.cs
- StreamGeometry.cs
- SqlDependencyUtils.cs
- ConfigurationCollectionAttribute.cs
- TripleDESCryptoServiceProvider.cs
- GridViewRow.cs
- WebPartZone.cs
- FlagsAttribute.cs
- ExeContext.cs
- HtmlInputText.cs
- RoutedPropertyChangedEventArgs.cs
- ObjectCloneHelper.cs
- WebPartVerbCollection.cs
- DataDocumentXPathNavigator.cs
- ObfuscateAssemblyAttribute.cs
- RNGCryptoServiceProvider.cs
- RoleManagerModule.cs
- HttpModuleCollection.cs
- DataFieldConverter.cs
- SessionEndedEventArgs.cs
- DataTablePropertyDescriptor.cs
- PauseStoryboard.cs
- TreeNodeCollection.cs